From: XhmikosR Date: Fri, 4 Mar 2016 17:38:57 +0000 (+0200) Subject: Use jekyll-sitemap instead of our custom solution. X-Git-Tag: v3.3.7~97^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5564142d93252771ff7935f5e7d35bca51f22c89;p=thirdparty%2Fbootstrap.git Use jekyll-sitemap instead of our custom solution. --- diff --git a/Gemfile b/Gemfile index 719b61a0cf..832d45f9f6 100644 --- a/Gemfile +++ b/Gemfile @@ -2,4 +2,5 @@ source 'https://rubygems.org' group :development, :test do gem 'jekyll', '~> 3.1.2' + gem 'jekyll-sitemap', '~> 0.10.0' end diff --git a/Gemfile.lock b/Gemfile.lock index f496d72ac2..cddfec5b6b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,6 +14,7 @@ GEM safe_yaml (~> 1.0) jekyll-sass-converter (1.4.0) sass (~> 3.4) + jekyll-sitemap (0.10.0) jekyll-watch (1.3.1) listen (~> 3.0) kramdown (1.10.0) @@ -34,6 +35,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 3.1.2) + jekyll-sitemap (~> 0.10.0) BUNDLED WITH 1.11.2 diff --git a/_config.yml b/_config.yml index 8f0dc85774..38f21b86ce 100644 --- a/_config.yml +++ b/_config.yml @@ -13,6 +13,9 @@ port: 9001 url: http://getbootstrap.com encoding: UTF-8 +gems: + - jekyll-sitemap + # Custom vars current_version: 3.3.6 repo: https://github.com/twbs/bootstrap diff --git a/docs/sitemap.xml b/docs/sitemap.xml deleted file mode 100644 index 0d59915de3..0000000000 --- a/docs/sitemap.xml +++ /dev/null @@ -1,23 +0,0 @@ ---- ---- - - - - - - {{ site.url }}/ - {{ site.time | date_to_xmlschema }} - daily - 1.0 - - {% for page in site.html_pages %} - {% if page.layout != "home" %} - - {{ site.url }}{{ page.url }} - {{ site.time | date_to_xmlschema }} - weekly - 0.7 - - {% endif %} - {% endfor %} -