| | |
| | | {{- end }} |
| | | <title>{{ if and $t (ne (trim (lower $s) "") (trim (lower $t) "")) }}{{ $t }} | {{ end }}{{ $s }}</title> |
| | | |
| | | {{- partial "opengraph" . -}} |
| | | {{- partial "opengraph.html" . }} |
| | | {{- partial "schema.html" . }} |
| | | {{- partial "twitter_cards.html" . }} |
| | | {{- if hugo.IsProduction }} |
| | | {{- partial "google_analytics.html" . }} |
| | | {{- end }} |
| | | |
| | | {{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}} |
| | | {{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | toCSS $options | |
| | | fingerprint "sha512" }} |
| | | {{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | css.Sass $options | resources.Fingerprint "sha512" }} |
| | | |
| | | <link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}"> |
| | | |
| | | {{- $config := site.Params }} |