feat: support custom page

This commit is contained in:
henry.chen
2025-07-17 15:55:32 +08:00
parent 24bfe528b2
commit b69248f6a4
40 changed files with 29 additions and 3 deletions

View 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>