Add sitemap
This commit is contained in:
parent
82fd68dd9f
commit
9b6402d801
|
@ -0,0 +1,3 @@
|
||||||
|
--
|
||||||
|
--
|
||||||
|
{{content}}
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
layout: blank
|
||||||
|
---
|
||||||
|
<?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">
|
||||||
|
<url><loc>{{ site.url }}/</loc></url>
|
||||||
|
{% for page in site.pages %}{% if page.type == 'article' %}<url><loc>{{ site.url }}{{ page.url | remove: '.html' }}</loc></url>
|
||||||
|
{% endif %}{% endfor %}
|
||||||
|
</urlset>
|
Loading…
Reference in New Issue