-
Notifications
You must be signed in to change notification settings - Fork 88
/
sitemap-old.xml
43 lines (39 loc) · 1.22 KB
/
sitemap-old.xml
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
34
35
36
37
38
39
40
41
42
43
---
layout: nil
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<!-- Homepage -->
<url>
<loc>{{ site.url }}</loc>
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
{% for page in site.posts %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
{% if page.last_updated %}
<lastmod>{{ page.last_updated | date: "%Y-%m-%d" }}</lastmod>
{% elsif page.date %}
<lastmod>{{ page.date | date: "%Y-%m-%d" }}</lastmod>
{% else %}
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
{% endif %}
</url>
{% endfor %}
{% for page in site.html_pages %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
{% if page.last_updated %}
<lastmod>{{ page.last_updated | date: "%Y-%m-%d" }}</lastmod>
{% elsif page.date %}
<lastmod>{{ page.date | date: "%Y-%m-%d" }}</lastmod>
{% else %}
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
{% endif %}
{% if page.changefreq %}<changefreq>{{ page.changefreq }}</changefreq>{% endif %}
{% if page.priority %}<priority>{{ page.priority }}</priority>{% endif %}
</url>
{% endfor %}
</urlset>