mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-22 06:52:18 +00:00
add tags to rss
This commit is contained in:
parent
664400f4ac
commit
2b124f149e
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
{{ with .Site.Params.Author.name }}<dc:creator>{{.}}</dc:creator>{{end}}
|
{{ with .Site.Params.Author.name }}<dc:creator>{{.}}</dc:creator>{{end}}
|
||||||
|
<category>{{ .Params.series | lower }}</category>
|
||||||
|
{{ range (.GetTerms "tags") }}
|
||||||
|
<category>{{ .LinkTitle }}</category>{{end}}
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
|
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in a new issue