diff options
author | Bernhard Miklautz <bernhard.miklautz@thincast.com> | 2017-11-28 18:27:53 +0300 |
---|---|---|
committer | Bernhard Miklautz <bernhard.miklautz@thincast.com> | 2017-11-28 18:29:55 +0300 |
commit | e2275a09ee75ad70c953d47c6e9b0b1ca575f17e (patch) | |
tree | 613b7cac0737bc0498e852a924da85fe0dd1583c | |
parent | 0cb1c1be6c3ac8f0f2279417e6d9d960da088684 (diff) |
updates for jekyll 3.0
-rw-r--r-- | Gemfile | 3 | ||||
-rw-r--r-- | sitemap.xml | 4 |
2 files changed, 3 insertions, 4 deletions
@@ -1,3 +1,2 @@ source 'https://rubygems.org' -ruby "2.0.0" -gem 'github-pages' +gem "github-pages", group: :jekyll_plugins diff --git a/sitemap.xml b/sitemap.xml index 2092b62..0eb2551 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -59,8 +59,8 @@ sitemap: {% endfor %} {% for collection in site.collections %} - {% if collection[1].output %} - {% for doc in collection[1].docs %} + {% if collection.output %} + {% for doc in collection.docs %} <url> <loc>{{ site.url }}{{ doc.url | remove: "index.html" }}</loc> {% if doc.sitemap.lastmod %} |