Fixed: render atom or rss page error.

pull/167/head
ruibaby 2019-05-22 16:14:08 +08:00
parent 08ba24d330
commit 884d23c2c3
2 changed files with 6 additions and 2 deletions

View File

@ -19,7 +19,7 @@
<#if posts?? && posts?size gt 0>
<#list posts as post>
<item>
<title>${post.title!}</title>
<title><![CDATA[${post.title!}]]></title>
<link>${options.blog_url!}/archives/${post.url!}</link>
<comments>${options.blog_url!}/archives/${post.url!}#comments</comments>
<pubDate>${post.createTime!}</pubDate>

View File

@ -10,7 +10,11 @@
<#if posts?? && posts?size gt 0>
<#list posts as post>
<item>
<title>${post.title!}</title>
<title>
<![CDATA[
${post.title!}
]]>
</title>
<link>${options.blog_url}/archives/${post.url!}</link>
<content:encoded>
<![CDATA[