Custom sitemap

This commit is contained in:
mathias 2019-07-30 23:25:00 +03:00
parent 759dee97d0
commit 53b1324eab
2 changed files with 11 additions and 3 deletions

View file

@ -10,9 +10,6 @@ exclude:
sass:
style: :compressed
gems:
- jekyll-sitemap
defaults:
- scope:
path: _posts

11
sitemap.xml Normal file
View file

@ -0,0 +1,11 @@
---
layout: minify
---
<?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">
{% for page in site.pages %}
<url>
<loc>{{ site.url }}{{ page.url }}</loc>
</url>
{% endfor %}
</urlset>