forked from confluentinc/kafka-tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sitemap.xml
19 lines (19 loc) · 843 Bytes
/
sitemap.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
{% assign pages = site.html_pages | where_exp:'doc','doc.url != "/404.html"' %}
{% for page in pages %}
<url>
{% if page.url == '/' %}
<loc>{{ page.url | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
{% else %}
<loc>{{ page.url | replace:'/index.html','/' | absolute_url | append: '.html' | xml_escape }}</loc>
{% endif %}
{% if page.last_modified_at %}
<lastmod>{{ page.last_modified_at | date_to_xmlschema }}</lastmod>
{% endif %}
</url>
{% endfor %}
</urlset>