-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsitemap.xml
More file actions
24 lines (23 loc) · 754 Bytes
/
sitemap.xml
File metadata and controls
24 lines (23 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for post in site.posts %}
<url>
<loc>{{ site.url }}{{ post.url | remove: 'index.html' }}</loc>
<changefreq>never</changefreq>
</url>
{% endfor %}
{% for page in site.pages %}
{% if page.layout != nil and page.layout != 'none' and page.layout != 'engagement' and page.exclude_sitemap != true %}
<url>
<loc>{{ site.url }}{{ page.url | remove: 'index.html' | replace: '.html', '/' | replace: ' ', '%20' }}</loc>
<changefreq>monthly</changefreq>
</url>
{% endif %}
{% endfor %}
<url>
<loc>{{ site.url }}/</loc>
<changefreq>always</changefreq>
</url>
</urlset>