]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use jekyll-sitemap instead of our custom solution. 17519/head
authorXhmikosR <xhmikosr@gmail.com>
Tue, 8 Sep 2015 05:13:48 +0000 (08:13 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 8 Sep 2015 05:18:52 +0000 (08:18 +0300)
Gemfile
Gemfile.lock
_config.yml
docs/sitemap.xml [deleted file]

diff --git a/Gemfile b/Gemfile
index 555a281669ace34b71b9fa1a95995b435ca8d371..0d7de115a6cba30c8ccadea301f88391fc0378ec 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -6,6 +6,7 @@ source 'https://rubygems.org'
 group :development, :test do
   gem 'jekyll', '~> 2.5.3'
   gem 'jekyll-redirect-from', '~> 0.8.0'
+  gem 'jekyll-sitemap', '~> 0.8.1'
   gem 'rouge', '~> 1.9.1'
   gem 'sass', '~> 3.4.18'
   gem 'scss_lint', '~> 0.41'
index 419591d3beb510e7514c1d7c7de34506d9b00f87..168255b38a84b1c79d7824ce03e96477d4345abf 100644 (file)
@@ -38,6 +38,7 @@ GEM
       jekyll (>= 2.0)
     jekyll-sass-converter (1.3.0)
       sass (~> 3.2)
+    jekyll-sitemap (0.8.1)
     jekyll-watch (1.2.1)
       listen (~> 2.7)
     kramdown (1.8.0)
@@ -76,6 +77,7 @@ PLATFORMS
 DEPENDENCIES
   jekyll (~> 2.5.3)
   jekyll-redirect-from (~> 0.8.0)
+  jekyll-sitemap (~> 0.8.1)
   rouge (~> 1.9.1)
   sass (~> 3.4.18)
   scss_lint (~> 0.41)
index 0d47d652ba2f0ea9eeaf046eaed46b7d10bc750c..d0219c5ff800ddd74f0d9610b3507018761e29ec 100644 (file)
@@ -20,6 +20,7 @@ exclude:          [assets/scss/]
 
 gems:
   - jekyll-redirect-from
+  - jekyll-sitemap
 
 # Custom vars
 current_version:  4.0.0-alpha
diff --git a/docs/sitemap.xml b/docs/sitemap.xml
deleted file mode 100644 (file)
index 0d59915..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
----
----
-
-
-<?xml version="1.0" encoding="UTF-8"?>
-<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
-  <url>
-    <loc>{{ site.url }}/</loc>
-    <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
-    <changefreq>daily</changefreq>
-    <priority>1.0</priority>
-  </url>
-  {% for page in site.html_pages %}
-  {% if page.layout != "home" %}
-  <url>
-    <loc>{{ site.url }}{{ page.url }}</loc>
-    <lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
-    <changefreq>weekly</changefreq>
-    <priority>0.7</priority>
-  </url>
-  {% endif %}
-  {% endfor %}
-</urlset>