aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-pt2021/layouts/partials')
-rw-r--r--themes/hugo-pt2021/layouts/partials/head.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/hugo-pt2021/layouts/partials/head.html b/themes/hugo-pt2021/layouts/partials/head.html
index d73cb07..2c6274f 100644
--- a/themes/hugo-pt2021/layouts/partials/head.html
+++ b/themes/hugo-pt2021/layouts/partials/head.html
@@ -9,4 +9,8 @@
{{- $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 }}'/>
+
+ {{- range .AlternativeOutputFormats -}}
+ {{- printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML -}}
+ {{- end -}}
</head>