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 %} -