only solve for rss as alternative output format
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-03-30 17:45:06 +02:00
parent 0b8d7d92ae
commit bb5d6b632e
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -1,5 +1,5 @@
{{ define "head" }} {{ define "head" }}
{{ range .AlternativeOutputFormats -}} {{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}} {{ end -}}
{{ if .Site.Params.bgImg -}} {{ if .Site.Params.bgImg -}}