diff --git a/themes/secluded/layouts/_default/rss.xml b/themes/secluded/layouts/_default/rss.xml index a163352..46d65c4 100644 --- a/themes/secluded/layouts/_default/rss.xml +++ b/themes/secluded/layouts/_default/rss.xml @@ -28,8 +28,15 @@ {{ .Title }} {{ .Permalink }} + {{- if .Params.Tags }} + {{ range $key, $value := .Params.Tags }}{{ if $key }}/{{ end }}{{ $value }}{{ end }}> + {{- else }} + {{- if .Params.Rss_only }} + RSS-only> + {{- end }} + {{- end }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{- with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} {{ .Content | html }}