From 64682b710e7bfb4dc65bfffded72622e46c7e81c Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 17 Oct 2021 09:06:43 -0400 Subject: add rss link to header --- themes/hugo-pt2021/layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) 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 -}} + + {{- range .AlternativeOutputFormats -}} + {{- printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML -}} + {{- end -}} -- cgit v1.2.3