Compare commits

..

2 Commits

Author SHA1 Message Date
Amolith b149c1acb7
fix rss-only tags 2023-06-01 00:56:38 -04:00
Amolith 732725688e
add categories to feed 2023-06-01 00:25:31 -04:00
1 changed files with 8 additions and 1 deletions

View File

@ -28,8 +28,15 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
{{- if .Params.Tags }}
<category>{{ range $key, $value := .Params.Tags }}{{ if $key }}/{{ end }}{{ $value }}{{ end }}</category>>
{{- else }}
{{- if .Params.Rss_only }}
<category>RSSOnly</category>>
{{- end }}
{{- end }}
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
{{- with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>