Skip to content

Commit 4383e71

Browse files
committed
Special postroll XML rules
1 parent 5b09496 commit 4383e71

3 files changed

Lines changed: 10 additions & 45 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<item>
2+
<title>Postroll: {{ .Title }}</title>
3+
<link>{{ with .Params.url }}{{ . }}{{ else }}{{ .Permalink }}{{ end }}</link>
4+
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
5+
<author>{{ .Params.author }}</author>
6+
<guid>{{ with .Params.url }}{{ . }}{{ else }}{{ .Permalink }}{{ end }}</guid>
7+
{{ printf `<description><![CDATA[<p><strong>Brandon's Comment:</strong></p>%s]]></description>` .Summary | safeHTML }}
8+
{{ printf `<content:encoded><![CDATA[<p><strong>Brandon's Comment:</strong></p>%s]]></content:encoded>` .Content | safeHTML }}
9+
</item>

layouts/postroll/rss.xml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)