diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index e400e2c5..d2c4d76b 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -1,7 +1,25 @@ {{- define "main" }} - {{ .Title }} + + {{ .Title }} + {{- if (.Param "ShowRssButtonInSectionTermList") }} + {{- $rss := (.OutputFormats.Get "rss") }} + {{- if (eq .Kind `page`) }} + {{- $rss = (.Parent.OutputFormats.Get "rss") }} + {{- end }} + {{- with $rss }} + + + + + + + + {{- end }} + {{- end }} + {{- if .Description }} {{ .Description }}