mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 12:51:03 +00:00
b6538532f4
The skeletons are used when creating new sites and themes with the CLI. Closes #11358
9 lines
351 B
HTML
9 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 }}
|