mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-21 23:35:01 +00:00
Modify sitemap
This commit is contained in:
parent
53b1324eab
commit
330a055c22
1 changed files with 8 additions and 4 deletions
|
@ -2,10 +2,14 @@
|
|||
layout: minify
|
||||
---
|
||||
<?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 %}
|
||||
{% if page.url == "/" or page.url contains ".html" %}
|
||||
{% unless page.url == "/404" %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ page.url }}</loc>
|
||||
</url>
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</urlset>
|
||||
|
|
Loading…
Reference in a new issue