commit 2c50f9f2426c9c55e99d63e7d6223b0fcfdad3e1
parent 964072319b8876d57f235c2435d0b4e595efc55f
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Tue, 7 Jan 2020 20:51:20 -0600
Use Hyperskip's built-in feed format
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/layouts/rss.xml b/layouts/rss.xml
@@ -3,16 +3,14 @@
<link href="{{ .Permalink }}"/>
<link href="{{ .Permalink }}index.xml" rel="self"/>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</updated>
- <author><name>
- {{ .Site.Author.name }}
- </name></author>
+ <author><name>{{ .Site.Author.name }}</name></author>
<id>{{ .Permalink }}</id>
{{ range where .Site.RegularPages "Section" "!=" "" }}
<entry>
<id>{{ .Permalink }}</id>
{{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title>
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" }}</updated>
- {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}<h2>{{ i18n "hyperskip-header" }}</h2>{{ partial "list_comment.html" . }}]]></content>
+ {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}{{ partial "hyperskip_feed.html" . }}]]></content>
<link href="{{ .Permalink }}"/>
</entry>
{{ end }}