mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
10 lines
351 B
HTML
10 lines
351 B
HTML
|
{{- with resources.Get "css/main.css" }}
|
||
|
{{- if eq hugo.Environment "development" }}
|
||
|
<link rel="stylesheet" href="{{ .RelPermalink }}">
|
||
|
{{- else }}
|
||
|
{{- with . | minify | fingerprint }}
|
||
|
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|