From 4c838533cf5a3e7bb748ab93d3ddd3a35fecdb22 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 17 Oct 2021 18:22:24 -0400 Subject: themes/hugo-pt2021/layouts/partials/head.html: add responsive viewport, add comments, clean up formatting --- themes/hugo-pt2021/layouts/partials/head.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/hugo-pt2021/layouts/partials/head.html b/themes/hugo-pt2021/layouts/partials/head.html index 2c6274f..37ec18c 100644 --- a/themes/hugo-pt2021/layouts/partials/head.html +++ b/themes/hugo-pt2021/layouts/partials/head.html @@ -1,15 +1,26 @@ + + {{/* set responsive viewport */}} + + {{- block "title" . -}} {{- .Page.Title -}} {{- end -}} + {{/* set stylesheet */}} {{- $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" false) -}} {{- $style := resources.Get "style.sass" | resources.ToCSS $options | resources.Fingerprint -}} - + + {{/* add feeds */}} {{- range .AlternativeOutputFormats -}} {{- printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML -}} {{- end -}} -- cgit v1.2.3