summaryrefslogtreecommitdiff
path: root/_site_build
diff options
context:
space:
mode:
Diffstat (limited to '_site_build')
-rw-r--r--_site_build/robots.txt5
-rw-r--r--_site_build/sitemap.xml26
2 files changed, 30 insertions, 1 deletions
diff --git a/_site_build/robots.txt b/_site_build/robots.txt
index 4738d6a..9755d00 100644
--- a/_site_build/robots.txt
+++ b/_site_build/robots.txt
@@ -1,3 +1,6 @@
+---
+layout: nil
+---
User-agent: *
Disallow:
-
+Sitemap: {{ site.url }}/sitemap.xml
diff --git a/_site_build/sitemap.xml b/_site_build/sitemap.xml
new file mode 100644
index 0000000..05fbb19
--- /dev/null
+++ b/_site_build/sitemap.xml
@@ -0,0 +1,26 @@
+---
+layout: nil
+---
+<?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>
+ <changefreq>daily</changefreq>
+ <priority>1.0</priority>
+ </url>
+ <url>
+ <loc>{{ site.url}}/about/</loc>
+ <lastmod>{{ site.time | date: "%Y-%m-%d" }}</lastmod>
+ <changefreq>monthly</changefreq>
+ <priority>0.6</priority>
+ </url>
+ {% for post in site.posts %}
+ <url>
+ <loc>{{ site.url}}{{ post.url }}</loc>
+ <lastmod>{{ post.date | date: "%Y-%m-%d" }}</lastmod>
+ <changefreq>weekly</changefreq>
+ <priority>0.8</priority>
+ </url>
+ {% endfor %}
+</urlset>