-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsitemap.xml
More file actions
33 lines (33 loc) · 990 Bytes
/
sitemap.xml
File metadata and controls
33 lines (33 loc) · 990 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
25
26
27
28
29
30
31
32
33
---
layout: null
title: Sitemap
sitemap:
exclude: "yes"
---
<?xml version="1.0" encoding="utf-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{{ site.productionUrl }}/</loc>
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
{% for curPage in site.pages | sort: "group" %}
{% unless curPage.sitemap.exclude == "yes" %}
<url>
<loc>{{ site.productionUrl}}{{ curPage.url }}</loc>
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
<changefreq>monthly</changefreq>
<priority>0.3</priority>
</url>
{% endunless %}
{% endfor %}
{% for post in site.posts %}
<url>
<loc>{{site.productionUrl}}{{ post.url }}</loc>
<lastmod>{{post.date | date: "%Y-%m-%d"}}</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
{% endfor %}
</urlset>