mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
pretty *.xml
This commit is contained in:
@@ -4,8 +4,8 @@
|
|||||||
<title>{{.Title}}</title>
|
<title>{{.Title}}</title>
|
||||||
<link>https://{{.Domain}}</link>
|
<link>https://{{.Domain}}</link>
|
||||||
<description>{{.SubTitle}}</description>
|
<description>{{.SubTitle}}</description>
|
||||||
<atom:link href="https://{{.Domain}}/rss.html" rel="self"/>
|
<atom:link href="https://{{.Domain}}/rss.html" rel="self" />
|
||||||
<atom:link href="{{.FeedrURL}}" rel="hub"/>
|
<atom:link href="{{.FeedrURL}}" rel="hub" />
|
||||||
<language>zh-CN</language>
|
<language>zh-CN</language>
|
||||||
<lastBuildDate>{{.BuildDate}}</lastBuildDate>
|
<lastBuildDate>{{.BuildDate}}</lastBuildDate>
|
||||||
{{range .Artcs}}
|
{{range .Artcs}}
|
||||||
@@ -14,7 +14,9 @@
|
|||||||
<link>https://{{$.Domain}}/post/{{.Slug}}.html</link>
|
<link>https://{{$.Domain}}/post/{{.Slug}}.html</link>
|
||||||
<comments>https://{{$.Domain}}/post/{{.Slug}}.html#comments</comments>
|
<comments>https://{{$.Domain}}/post/{{.Slug}}.html#comments</comments>
|
||||||
<guid>https://{{$.Domain}}/post/{{.Slug}}.html</guid>
|
<guid>https://{{$.Domain}}/post/{{.Slug}}.html</guid>
|
||||||
<description><![CDATA[<blockquote>{{.Content}}<p>本文链接:<a href="https://{{$.Domain}}/post/{{.Slug}}.html">https://{{$.Domain}}/post/{{.Slug}}.html</a>,<a href="https://{{$.Domain}}/post/{{.Slug}}.html#comments">参与评论 »</a></p>]]></description>
|
<description>
|
||||||
|
<![CDATA[<blockquote>{{.Content}}<p>本文链接:<a href="https://{{$.Domain}}/post/{{.Slug}}.html">https://{{$.Domain}}/post/{{.Slug}}.html</a>,<a href="https://{{$.Domain}}/post/{{.Slug}}.html#comments">参与评论 »</a></p>]]>
|
||||||
|
</description>
|
||||||
</item>
|
</item>
|
||||||
{{end}}
|
{{end}}
|
||||||
</channel>
|
</channel>
|
||||||
|
|||||||
Reference in New Issue
Block a user