2014-02-18 19:12:50 +04:00
|
|
|
---
|
|
|
|
---
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
|
|
<url>
|
|
|
|
<loc>{{ site.url }}/</loc>
|
|
|
|
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
|
|
|
|
</url>
|
|
|
|
|
|
|
|
{% assign exclude = ".htaccess sitemap.xml robots.txt" | split: " " %}
|
|
|
|
{% for page in site.pages %}
|
|
|
|
{% assign basename = page.url | split: "/" | last %}
|
2014-07-03 01:10:15 +04:00
|
|
|
{% unless exclude contains basename %}
|
2014-02-18 19:12:50 +04:00
|
|
|
<url>
|
|
|
|
<loc>{{ site.url }}{{ page.url }}</loc>
|
|
|
|
<lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
|
|
|
|
</url>
|
2014-07-03 01:10:15 +04:00
|
|
|
{% endunless %}
|
2014-02-18 19:12:50 +04:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{% for post in site.posts %}
|
|
|
|
<url>
|
|
|
|
<loc>{{ site.url }}{{ post.url }}</loc>
|
|
|
|
<lastmod>{{ post.date | date: "%Y-%m-%d" }}</lastmod>
|
|
|
|
</url>
|
|
|
|
{% endfor %}
|
|
|
|
</urlset>
|