forked from grafeas/grafeas.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsitemap.xml
More file actions
29 lines (27 loc) · 731 Bytes
/
sitemap.xml
File metadata and controls
29 lines (27 loc) · 731 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
---
title : "Sitemap"
sitemap_exclude: y
---
<?xml version="1.0" encoding="UTF-8"?>
{% assign grafeas = "https://grafeas.io" %}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% for post in site.posts %}
<url>
<loc>{{grafeas}}{{ post.url | remove: 'index.html' }}</loc>
</url>
{% endfor %}
{% for page in site.pages %}
{% if page.sitemap_exclude != 'y' %}
<url>
<loc>{{grafeas}}{{ page.url | remove: 'index.html' }}</loc>
</url>
{% endif %}
{% endfor %}
{% for page in site.docs %}
{% if page.sitemap_exclude != 'y' %}
<url>
<loc>{{grafeas}}{{ page.url | remove: 'index.html' }}</loc>
</url>
{% endif %}
{% endfor %}
</urlset>