]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use jekyll-sitemap instead of our custom solution.
authorXhmikosR <xhmikosr@gmail.com>
Fri, 4 Mar 2016 17:38:57 +0000 (19:38 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 10 Mar 2016 11:44:16 +0000 (13:44 +0200)
Gemfile
Gemfile.lock
_config.yml
docs/sitemap.xml [deleted file]

diff --git a/Gemfile b/Gemfile
index 719b61a0cfa7bf8cf451e2dbbd0ce5fe407e959b..832d45f9f6e1fe730771c5900fdfd1b4a067cc49 100644 (file)
--- 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
index f496d72ac2b2f7e8357eb4eb8666386307ee8748..cddfec5b6b293fa28ae8d5a95a0f615de29dd4f2 100644 (file)
@@ -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
index 8f0dc857746f303d73e221b5cde5ab328fb8398f..38f21b86cea9ec52ddb200baace332f22923cee1 100644 (file)
@@ -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 (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>