From bb5d6b632ee78cad2b0d9bb1006835d36f054521 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 30 Mar 2022 17:45:06 +0200 Subject: [PATCH] only solve for rss as alternative output format --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 3fb7522..5a0beba 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,5 @@ {{ define "head" }} -{{ range .AlternativeOutputFormats -}} +{{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ if .Site.Params.bgImg -}}