16 lines
		
	
	
	
		
			547 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			547 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{{- with resources.Get "css/main.scss" }}
 | 
						|
  {{ $opts := dict
 | 
						|
    "enableSourceMap" hugo.IsDevelopment
 | 
						|
    "outputStyle" (cond hugo.IsDevelopment "expanded" "compressed")
 | 
						|
    "vars" site.Params.styles
 | 
						|
  }}
 | 
						|
  {{ with . | toCSS $opts }}
 | 
						|
    {{- if hugo.IsDevelopment }}
 | 
						|
      <link rel="stylesheet" href="{{ .RelPermalink }}">
 | 
						|
    {{- else }}
 | 
						|
      {{- with . | fingerprint }}
 | 
						|
        <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
 | 
						|
      {{- end }}
 | 
						|
    {{- end }}
 | 
						|
  {{- end }}
 | 
						|
{{- end }}
 |