Replace static sitemap with dynamic template
This commit is contained in:
parent
93d837c590
commit
1b4d88246a
16
sitemap.xml
16
sitemap.xml
@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<urlset
|
|
||||||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
|
||||||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
|
||||||
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
|
|
||||||
|
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://allaroundhere.org/</loc>
|
|
||||||
<lastmod>2021-02-01T00:30:55+00:00</lastmod>
|
|
||||||
<priority>1.00</priority>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
</urlset>
|
|
27
templates/sitemap.xml.j2
Normal file
27
templates/sitemap.xml.j2
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
|
||||||
|
<urlset
|
||||||
|
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||||
|
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://allaroundhere.org/</loc>
|
||||||
|
<lastmod>2021-02-01T00:30:55+00:00</lastmod>
|
||||||
|
<priority>1.00</priority>
|
||||||
|
</url>
|
||||||
|
|
||||||
|
<url>
|
||||||
|
<loc>https://allaroundhere.org/explore/</loc>
|
||||||
|
<lastmod>2021-02-01T00:30:55+00:00</lastmod>
|
||||||
|
<priority>1.10</priority>
|
||||||
|
</url>
|
||||||
|
{% for post in config.posts %}
|
||||||
|
<url>
|
||||||
|
<loc>https://allaroundhere.org/explore/{{ post.slug }}/</loc>
|
||||||
|
<lastmod>2021-02-01T00:30:55+00:00</lastmod>
|
||||||
|
<priority>0.90</priority>
|
||||||
|
</url>
|
||||||
|
{% endfor %}
|
||||||
|
</urlset>
|
Loading…
Reference in New Issue
Block a user