aboutsummaryrefslogtreecommitdiff
path: root/layouts/_partials/head/css.html
blob: d76d23a16cec3ffb32230569bd97713194f1700f (plain)
1
2
3
4
5
6
7
8
9
{{- with resources.Get "css/main.css" }}
  {{- if hugo.IsDevelopment }}
    <link rel="stylesheet" href="{{ .RelPermalink }}">
  {{- else }}
    {{- with . | minify | fingerprint }}
      <link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
    {{- end }}
  {{- end }}
{{- end }}