-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsitemap.xml
28 lines (27 loc) · 866 Bytes
/
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
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
{%- for section in site.sections -%}
<url>
<loc>{{ section.url | absolute_url }}</loc>
<changefreq>daily</changefreq>
</url>
{%- endfor -%}
{%- for post in site.posts -%}
<url>
<loc>{{ post.url | absolute_url }}</loc>
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
{%- if post.splash.image -%}
<image:image>
<image:loc>{{ post.splash.image | absolute_url }}</image:loc>
<image:caption>{{ post.title | strip_html }}</image:caption>
</image:image>
{%- endif -%}
</url>
{%- endfor -%}
</urlset>