aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-17 09:06:43 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-17 09:06:43 -0400
commit64682b710e7bfb4dc65bfffded72622e46c7e81c (patch)
tree407523b25716cb269cbcf3370c22ef439aae7fce
parent4251768e4f7514eb6ac314cb440bc0a42be9fb0b (diff)
downloadpablotron.org-64682b710e7bfb4dc65bfffded72622e46c7e81c.tar.bz2
pablotron.org-64682b710e7bfb4dc65bfffded72622e46c7e81c.zip
add rss link to header
-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>