aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts/partials/head.html
blob: d73cb07f4cf0ef3295f8cd4f98a0b73eefd71d58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<head>
  <meta charset='utf-8'/>
  <title>
    {{- block "title" . -}}
      {{- .Page.Title -}}
    {{- end -}}
  </title>

  {{- $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" false) -}}
  {{- $style := resources.Get "style.sass" | resources.ToCSS $options | resources.Fingerprint -}}
  <link rel='stylesheet' type='text/css' href='{{ $style.Permalink }}' integrity='{{ $style.Data.Integrity }}'/>
</head>