only solve for rss as alternative output format
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0b8d7d92ae
commit
bb5d6b632e
@ -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 -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user