mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-17 03:42:26 +08:00
chore: mv conf/tpl->website/template
This commit is contained in:
10
website/template/sitemapTpl.xml
Normal file
10
website/template/sitemapTpl.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{{range .Articles}}
|
||||
<url>
|
||||
<loc>https://{{$.Host}}/post/{{.Slug}}.html</loc>
|
||||
<lastmod>{{dateformat .CreatedAt "2006-01-02"}}</lastmod>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
{{end}}
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user