From 4ebbc38cc0e55195a9d304585fb136ac8bb8dd05 Mon Sep 17 00:00:00 2001 From: deepzz0 Date: Fri, 17 Feb 2017 23:53:07 +0800 Subject: [PATCH] pretty *.xml --- conf/tpl/crossdomainTpl.xml | 2 +- conf/tpl/feedTpl.xml | 38 +++++++++++++++++++------------------ 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/conf/tpl/crossdomainTpl.xml b/conf/tpl/crossdomainTpl.xml index 315e611..8c5a734 100644 --- a/conf/tpl/crossdomainTpl.xml +++ b/conf/tpl/crossdomainTpl.xml @@ -1,4 +1,4 @@ - + diff --git a/conf/tpl/feedTpl.xml b/conf/tpl/feedTpl.xml index 6ad6386..fa9af3f 100644 --- a/conf/tpl/feedTpl.xml +++ b/conf/tpl/feedTpl.xml @@ -1,21 +1,23 @@ - - {{.Title}} - https://{{.Domain}} - {{.SubTitle}} - - - zh-CN - {{.BuildDate}} - {{range .Artcs}} - - {{.Title}} - https://{{$.Domain}}/post/{{.Slug}}.html - https://{{$.Domain}}/post/{{.Slug}}.html#comments - https://{{$.Domain}}/post/{{.Slug}}.html - {{.Content}}

本文链接:https://{{$.Domain}}/post/{{.Slug}}.html参与评论 »

]]>
-
- {{end}} -
+ + {{.Title}} + https://{{.Domain}} + {{.SubTitle}} + + + zh-CN + {{.BuildDate}} + {{range .Artcs}} + + {{.Title}} + https://{{$.Domain}}/post/{{.Slug}}.html + https://{{$.Domain}}/post/{{.Slug}}.html#comments + https://{{$.Domain}}/post/{{.Slug}}.html + + {{.Content}}

本文链接:https://{{$.Domain}}/post/{{.Slug}}.html参与评论 »

]]> +
+
+ {{end}} +