Skip to content

Commit c9c9892

Browse files
committed
Add sitemap.
1 parent 3af0e79 commit c9c9892

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

robots.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sitemap: http://code.logic.net/sitemap.xml

sitemap.xml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
layout: nil
3+
---
4+
<?xml version="1.0" encoding="utf-8"?>
5+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
6+
7+
<url>
8+
<loc>http://code.logic.net/</loc>
9+
<lastmod>2012-02-20</lastmod>
10+
<changefreq>weekly</changefreq>
11+
<priority>0.5</priority>
12+
</url>
13+
14+
<url>
15+
<loc>http://code.logic.net/about.html</loc>
16+
<lastmod>2012-02-20</lastmod>
17+
<changefreq>monthly</changefreq>
18+
<priority>0.5</priority>
19+
</url>
20+
21+
<url>
22+
<loc>http://code.logic.net/404.html</loc>
23+
<lastmod>2012-02-20</lastmod>
24+
<changefreq>monthly</changefreq>
25+
<priority>0.5</priority>
26+
</url>
27+
{% for post in site.posts %}
28+
<url>
29+
<loc>http://code.logic.net{{ post.url }}</loc>
30+
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
31+
<changefreq>weekly</changefreq>
32+
<priority>0.8</priority>
33+
</url>
34+
{% endfor %}
35+
</urlset>

0 commit comments

Comments
 (0)