mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Use jekyll-sitemap instead of our custom solution.
This commit is contained in:
@@ -2,4 +2,5 @@ source 'https://rubygems.org'
|
|||||||
|
|
||||||
group :development, :test do
|
group :development, :test do
|
||||||
gem 'jekyll', '~> 3.1.2'
|
gem 'jekyll', '~> 3.1.2'
|
||||||
|
gem 'jekyll-sitemap', '~> 0.10.0'
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ GEM
|
|||||||
safe_yaml (~> 1.0)
|
safe_yaml (~> 1.0)
|
||||||
jekyll-sass-converter (1.4.0)
|
jekyll-sass-converter (1.4.0)
|
||||||
sass (~> 3.4)
|
sass (~> 3.4)
|
||||||
|
jekyll-sitemap (0.10.0)
|
||||||
jekyll-watch (1.3.1)
|
jekyll-watch (1.3.1)
|
||||||
listen (~> 3.0)
|
listen (~> 3.0)
|
||||||
kramdown (1.10.0)
|
kramdown (1.10.0)
|
||||||
@@ -34,6 +35,7 @@ PLATFORMS
|
|||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
jekyll (~> 3.1.2)
|
jekyll (~> 3.1.2)
|
||||||
|
jekyll-sitemap (~> 0.10.0)
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.11.2
|
1.11.2
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ port: 9001
|
|||||||
url: http://getbootstrap.com
|
url: http://getbootstrap.com
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
|
|
||||||
|
gems:
|
||||||
|
- jekyll-sitemap
|
||||||
|
|
||||||
# Custom vars
|
# Custom vars
|
||||||
current_version: 3.3.6
|
current_version: 3.3.6
|
||||||
repo: https://github.com/twbs/bootstrap
|
repo: https://github.com/twbs/bootstrap
|
||||||
|
|||||||
@@ -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>
|
|
||||||
Reference in New Issue
Block a user