迁移基本完成,还有一些页面需要核对
This commit is contained in:
16
templates/sitemap.xml
Normal file
16
templates/sitemap.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="www.sitemaps.org">
|
||||
<url>
|
||||
<loc>{{ base_url }}</loc>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
{% for posts in posts %}
|
||||
<url>
|
||||
<loc>{{ base_url }}posts/{{ posts['id'] }}</loc>
|
||||
<lastmod>{{ posts.updated_at }}</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user