Skip to content

Commit 34af56e

Browse files
committed
Remove unused posts from sitemap
1 parent 3ced67a commit 34af56e

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

templates/sitemap.pt

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
<loc>${site.config.base_url}/posts/</loc>
88
</url>
99
<url>
10-
<loc>${site.config.base_url}/posts/archive/</loc>
11-
</url>
12-
<url>
13-
<loc>${site.config.base_url}/posts/tags/</loc>
10+
<loc>${site.config.base_url}/posts/tags/events/</loc>
1411
</url>
1512
<tal:block tal:repeat="page site.pages">
1613
<url tal:condition="page.slug != '404'">
@@ -21,13 +18,4 @@
2118
<loc>${site.config.base_url}/${post.link}/</loc>
2219
<lastmod>${post.modified.isoformat(timespec="seconds")}</lastmod>
2320
</url>
24-
<url tal:repeat="tag site.tags">
25-
<loc>${site.config.base_url}/posts/tags/${tag}/</loc>
26-
</url>
27-
<url tal:repeat="year years">
28-
<loc>${site.config.base_url}/posts/${year}/</loc>
29-
</url>
30-
<url tal:repeat="(year, month) months">
31-
<loc>${site.config.base_url}/posts/${year}/${month}/</loc>
32-
</url>
3321
</urlset>

0 commit comments

Comments
 (0)