This commit is contained in:
deepzz0
2016-09-29 02:59:27 +08:00
parent 60af472ca7
commit ddf508825c
121 changed files with 711894 additions and 0 deletions

10
conf/tpl/sitemapTpl.xml Normal file
View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{{range .Artcs}}
<url>
<loc>{{if $.EnableHttps}}https{{else}}http{{end}}://{{$.Domain}}/post/{{.Slug}}.html</loc>
<lastmod>{{dateformat .CreateTime "2006-01-02"}}</lastmod>
<priority>0.6</priority>
</url>
{{end}}
</urlset>