-
Notifications
You must be signed in to change notification settings - Fork 0
/
sitemap.xml
96 lines (95 loc) · 3.53 KB
/
sitemap.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.9">
<!-- Posts -->
{% for post in site.posts %}
<url>
<loc>{% include canonical-url.html url=post.url %}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
{% endfor %}
<!-- Pages -->
{% for page in site.pages %}
{% if page.layout != null and page.layout != 'feed' and page.permalink != '/404.html' %}
<url>
<loc>{% include canonical-url.html url=page.url %}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
{% endif %}
{% endfor %}
<!-- Project documents -->
{% for project in site.data.projects %}
{% if project.doc_url != null and project.doc_url contains "/assets" first %}
<url>
<loc>{% include canonical-url.html url=project.doc_url %}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>never</changefreq>
<priority>0.5</priority>
</url>
{% endif %}
{% endfor %}
<!-- Publications -->
{% for event in site.data.publications %}
{% for section_hash in event %}
{% for section in section_hash %}
{% if section.id != null %}
{% if section.pdf != null %}
<url>
<loc>{% include canonical-url.html url=section.pdf %}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>never</changefreq>
<priority>0.5</priority>
</url>
{% endif %}
{% if section.presentation != null %}
<url>
<loc>{% include canonical-url.html url=section.presentation %}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>never</changefreq>
<priority>0.5</priority>
</url>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
<!-- Talks -->
{% for event in site.data.talks %}
{% for section_hash in event %}
{% for section in section_hash %}
{% if section.id != null %}
{% if section.pdf != null %}
<url>
<loc>{% include canonical-url.html url=section.pdf %}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>never</changefreq>
<priority>0.5</priority>
</url>
{% endif %}
{% if section.presentation != null %}
<url>
<loc>{% include canonical-url.html url=section.presentation %}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>never</changefreq>
<priority>0.5</priority>
</url>
{% endif %}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
<!-- Resume TODO find a way to do this-->
<!--
<url>
<loc>{{ site.resume_path }}</loc>
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
-->
</urlset>