fix(sitemap): use absolute uri
This commit is contained in:
parent
69c205de54
commit
75658b8c7c
2 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,7 @@ languages:
|
||||||
|
|
||||||
jinja_environment:
|
jinja_environment:
|
||||||
|
|
||||||
|
baseurl_abs: https://chaostreff.ch/
|
||||||
baseurl: /
|
baseurl: /
|
||||||
spaceapi_proxy_endpoint: /spaceapi
|
spaceapi_proxy_endpoint: /spaceapi
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,14 @@
|
||||||
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<urlset 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"
|
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
|
||||||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
|
<url>
|
||||||
|
<loc>{{ baseurl_abs }}/</loc>
|
||||||
|
<changefreq>daily</changefreq>
|
||||||
|
<priority>1.0</priority>
|
||||||
|
</url>
|
||||||
{% for language in languages %}
|
{% for language in languages %}
|
||||||
<url>
|
<url>
|
||||||
<loc>{{ baseurl }}{{ language }}/</loc>
|
<loc>{{ baseurl_abs }}{{ language }}/</loc>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
<priority>0.5</priority>
|
<priority>0.5</priority>
|
||||||
</url>
|
</url>
|
||||||
|
|
Loading…
Reference in a new issue