From 0dbb5bfa8d88b7a57ffa18c02bd364e10e75c7e0 Mon Sep 17 00:00:00 2001 From: Pat Hawks Date: Tue, 6 May 2014 18:34:22 -0700 Subject: [PATCH] Use *jekyll-sitemap* plugin for sitemap --- _config.yml | 3 +++ sitemap.xml | 30 ------------------------------ 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 sitemap.xml diff --git a/_config.yml b/_config.yml index e38fb71..0b0c9e3 100644 --- a/_config.yml +++ b/_config.yml @@ -75,3 +75,6 @@ exclude: - README.md - script - bundle + +gems: +- jekyll-sitemap diff --git a/sitemap.xml b/sitemap.xml deleted file mode 100644 index 5921006..0000000 --- a/sitemap.xml +++ /dev/null @@ -1,30 +0,0 @@ ---- -layout: nil ---- - - - - {{ site.url }}/ - {{ site.time | date_to_xmlschema }} - daily - 1.0 - - {% for page in site.pages %} - {% if page.layout != "nil" %} - - {{ site.url }}{{ page.url }} - {{ site.time | date_to_xmlschema }} - weekly - 0.7 - - {% endif %} - {% endfor %} - {% for post in site.posts %} - - {{ site.url }}{{ post.url }} - {{ post.date | date_to_xmlschema }} - weekly - 0.8 - - {% endfor %} -