Permalink
Browse files

Sitemap generator

  • Loading branch information...
1 parent d739454 commit 691c0ae85272cdd474f39a88d35f97251c17b1fd @roolo committed Apr 17, 2012
Showing with 23 additions and 0 deletions.
  1. +23 −0 sitemap.xml
View
@@ -0,0 +1,23 @@
+---
+layout: nil
+---
+<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">
+ <url>
+ <loc>{{site.url}}</loc>
+ <lastmod>2012-04-16T15:52:00+00:00</lastmod>
+ <lastmod>{{site.time | date: "%Y-%m-%dT%H:%M:%S+"}}</lastmod>
+ <changefreq>weekly</changefreq>
+ <priority>1.00</priority>
+ </url>
+ {% for post in site.posts %}
+ <url>
+ <loc>
+ {{site.url}}{{post.url}}
+ </loc>
+ <lastmod>{{post.date}}</lastmod>
+ <changefreq>yearly</changefreq>
+ <priority>0.80</priority>
+ </url>
+ {% endfor %}
+</urlset>

0 comments on commit 691c0ae

Please sign in to comment.