Create sitemap
This commit is contained in:
parent
9c2b455008
commit
c79f82fbb5
1 changed files with 27 additions and 0 deletions
27
sitemap.xml
Normal file
27
sitemap.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
layout: null
|
||||
search: exclude
|
||||
---
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
|
||||
{% for page in site.pages %}
|
||||
<url>
|
||||
<loc>{{page.url}}</loc>
|
||||
<lastmod>{{site.time | date: '%Y-%m-%d' }}</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.5</priority>
|
||||
</url>
|
||||
{% endfor %}
|
||||
|
||||
{% for post in site.posts %}
|
||||
<url>
|
||||
<loc>{{post.url}}</loc>
|
||||
<lastmod>{{site.time | date: '%Y-%m-%d' }}</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.5</priority>
|
||||
</url>
|
||||
{% endfor %}
|
||||
|
||||
</urlset>
|
Loading…
Reference in a new issue