fix: #35 no pubDate added for feed generation

This commit is contained in:
henry.chen
2022-08-09 18:40:52 +08:00
parent bf0ad811ff
commit 289b8145bc

View File

@@ -17,6 +17,7 @@
<description>
<![CDATA[<blockquote>{{.Content}}<p>本文链接:<a href="https://{{$.Host}}/post/{{.Slug}}.html">https://{{$.Host}}/post/{{.Slug}}.html</a><a href="https://{{$.Host}}/post/{{.Slug}}.html#comments">参与评论 »</a></p>]]>
</description>
<pubDate>{{dateformat .CreatedAt "Mon, 02 Jan 2006 15:04:05 -0700"}}</pubDate>
</item>
{{end}}
</channel>