mirror of
https://github.com/Brandon-Rozek/website.git
synced 2026-05-07 08:16:47 +00:00
Special postroll XML rules
This commit is contained in:
parent
5b094969e9
commit
4383e71b92
3 changed files with 10 additions and 45 deletions
9
layouts/partials/rss-item/postroll.xml
Normal file
9
layouts/partials/rss-item/postroll.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<item>
|
||||
<title>Postroll: {{ .Title }}</title>
|
||||
<link>{{ with .Params.url }}{{ . }}{{ else }}{{ .Permalink }}{{ end }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
<author>{{ .Params.author }}</author>
|
||||
<guid>{{ with .Params.url }}{{ . }}{{ else }}{{ .Permalink }}{{ end }}</guid>
|
||||
{{ printf `<description><![CDATA[<p><strong>Brandon's Comment:</strong></p>%s]]></description>` .Summary | safeHTML }}
|
||||
{{ printf `<content:encoded><![CDATA[<p><strong>Brandon's Comment:</strong></p>%s]]></content:encoded>` .Content | safeHTML }}
|
||||
</item>
|
||||
Loading…
Add table
Add a link
Reference in a new issue