aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-09-19 03:05:12 +0300
committerValentin Popov <info@valentineus.link>2018-09-19 03:05:12 +0300
commitccea2fd5b4ac091e810d0fdcdc6f856159bc5a3b (patch)
tree80c1322fedce91ee887b450ea9754880b3371d33
parent074012ec0c9a26cb2ccaed007a39aeed4f1869c0 (diff)
downloadpopov.link-ccea2fd5b4ac091e810d0fdcdc6f856159bc5a3b.tar.xz
popov.link-ccea2fd5b4ac091e810d0fdcdc6f856159bc5a3b.zip
Redesigned 'sitemap.xml'
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--_pages/sitemap.xml40
1 files changed, 17 insertions, 23 deletions
diff --git a/_pages/sitemap.xml b/_pages/sitemap.xml
index 555a2ae..4fa094e 100644
--- a/_pages/sitemap.xml
+++ b/_pages/sitemap.xml
@@ -4,28 +4,22 @@ layout: compress
---
<?xml version="1.0" encoding="utf-8"?>
-<?xml-stylesheet type="text/xsl" href="{{ page.permalink | absolute_url | xml_escape }}"?>
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
- 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">
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
- <!-- Pages -->
- {% for item in site.html_pages %}
- <url>
- <loc>{{ item.url | absolute_url | xml_escape }}</loc>
- <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
- <changefreq>monthly</changefreq>
- <priority>0.5</priority>
- </url>
- {% endfor %}
+<!-- Pages -->
+{% for item in site.html_pages %}
+ <url>
+ <loc>{{ item.url | absolute_url | xml_escape }}</loc>
+ <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
+ </url>
+{% endfor %}
- <!-- Posts -->
- {% for item in site.posts %}
- <url>
- <loc>{{ item.url | absolute_url | xml_escape }}</loc>
- <lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
- <changefreq>weekly</changefreq>
- <priority>0.8</priority>
- </url>
- {% endfor %}
-</urlset>
+<!-- Posts -->
+{% for item in site.posts %}
+ <url>
+ <loc>{{ item.url | absolute_url | xml_escape }}</loc>
+ <lastmod>{{ item.date | date_to_xmlschema }}</lastmod>
+ </url>
+{% endfor %}
+
+</urlset> \ No newline at end of file