mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-22 07:45:00 +00:00
Modify sitemap
This commit is contained in:
parent
53b1324eab
commit
330a055c22
1 changed files with 8 additions and 4 deletions
12
sitemap.xml
12
sitemap.xml
|
@ -2,10 +2,14 @@
|
||||||
layout: minify
|
layout: minify
|
||||||
---
|
---
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<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" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
{% for page in site.pages %}
|
{% for page in site.pages %}
|
||||||
<url>
|
{% if page.url == "/" or page.url contains ".html" %}
|
||||||
<loc>{{ site.url }}{{ page.url }}</loc>
|
{% unless page.url == "/404" %}
|
||||||
</url>
|
<url>
|
||||||
|
<loc>{{ site.url }}{{ page.url }}</loc>
|
||||||
|
</url>
|
||||||
|
{% endunless %}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|
Loading…
Reference in a new issue