mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge pull request #199 from pathawks/sitemap
Use jekyll-sitemap plugin
This commit is contained in:
commit
d2c3db8a7d
81
Gemfile.lock
81
Gemfile.lock
@ -2,53 +2,79 @@ GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
RedCloth (4.2.9)
|
||||
activesupport (4.1.1)
|
||||
i18n (~> 0.6, >= 0.6.9)
|
||||
json (~> 1.7, >= 1.7.7)
|
||||
minitest (~> 5.1)
|
||||
thread_safe (~> 0.1)
|
||||
tzinfo (~> 1.1)
|
||||
blankslate (2.1.2.4)
|
||||
classifier (1.3.4)
|
||||
fast-stemmer (>= 1.0.0)
|
||||
colorator (0.1)
|
||||
colored (1.2)
|
||||
commander (4.1.5)
|
||||
commander (4.1.6)
|
||||
highline (~> 1.6.11)
|
||||
ethon (0.6.2)
|
||||
ethon (0.7.0)
|
||||
ffi (>= 1.3.0)
|
||||
mime-types (~> 1.18)
|
||||
fast-stemmer (1.0.2)
|
||||
ffi (1.9.3)
|
||||
github-pages (12)
|
||||
gemoji (1.5.0)
|
||||
github-pages (18)
|
||||
RedCloth (= 4.2.9)
|
||||
jekyll (= 1.4.2)
|
||||
kramdown (= 1.2.0)
|
||||
liquid (= 2.5.4)
|
||||
jekyll (= 1.5.1)
|
||||
jekyll-mentions (= 0.0.6)
|
||||
jekyll-redirect-from (= 0.3.1)
|
||||
jekyll-sitemap (= 0.2.0)
|
||||
jemoji (= 0.1.0)
|
||||
kramdown (= 1.3.1)
|
||||
liquid (= 2.5.5)
|
||||
maruku (= 0.7.0)
|
||||
rdiscount (= 2.1.7)
|
||||
redcarpet (= 2.3.0)
|
||||
highline (1.6.20)
|
||||
html-proofer (0.4.1)
|
||||
highline (1.6.21)
|
||||
html-pipeline (1.5.0)
|
||||
activesupport (>= 2)
|
||||
nokogiri (~> 1.4)
|
||||
html-proofer (0.6.7)
|
||||
colored (~> 1.2)
|
||||
mercenary (~> 0.2.0)
|
||||
mercenary (~> 0.3.2)
|
||||
nokogiri (~> 1.6.0)
|
||||
typhoeus (~> 0.6.7)
|
||||
jekyll (1.4.2)
|
||||
i18n (0.6.9)
|
||||
jekyll (1.5.1)
|
||||
classifier (~> 1.3)
|
||||
colorator (~> 0.1)
|
||||
commander (~> 4.1.3)
|
||||
liquid (~> 2.5.2)
|
||||
liquid (~> 2.5.5)
|
||||
listen (~> 1.3)
|
||||
maruku (~> 0.7.0)
|
||||
maruku (= 0.7.0)
|
||||
pygments.rb (~> 0.5.0)
|
||||
redcarpet (~> 2.3.0)
|
||||
safe_yaml (~> 0.9.7)
|
||||
safe_yaml (~> 1.0)
|
||||
toml (~> 0.1.0)
|
||||
kramdown (1.2.0)
|
||||
liquid (2.5.4)
|
||||
jekyll-mentions (0.0.6)
|
||||
html-pipeline (~> 1.5.0)
|
||||
jekyll (~> 1.4)
|
||||
jekyll-redirect-from (0.3.1)
|
||||
jekyll (~> 1.4)
|
||||
jekyll-sitemap (0.2.0)
|
||||
jekyll (~> 1.4)
|
||||
jemoji (0.1.0)
|
||||
gemoji (~> 1.5.0)
|
||||
html-pipeline (~> 1.5.0)
|
||||
jekyll (~> 1.4)
|
||||
json (1.8.1)
|
||||
kramdown (1.3.1)
|
||||
liquid (2.5.5)
|
||||
listen (1.3.1)
|
||||
rb-fsevent (>= 0.9.3)
|
||||
rb-inotify (>= 0.9)
|
||||
rb-kqueue (>= 0.2)
|
||||
maruku (0.7.0)
|
||||
mercenary (0.2.1)
|
||||
mime-types (1.25.1)
|
||||
mini_portile (0.5.2)
|
||||
mercenary (0.3.3)
|
||||
mini_portile (0.5.3)
|
||||
minitest (5.3.3)
|
||||
nokogiri (1.6.1)
|
||||
mini_portile (~> 0.5.0)
|
||||
parslet (1.5.0)
|
||||
@ -57,19 +83,22 @@ GEM
|
||||
pygments.rb (0.5.4)
|
||||
posix-spawn (~> 0.3.6)
|
||||
yajl-ruby (~> 1.1.0)
|
||||
rake (10.1.1)
|
||||
rake (10.3.1)
|
||||
rb-fsevent (0.9.4)
|
||||
rb-inotify (0.9.3)
|
||||
rb-inotify (0.9.4)
|
||||
ffi (>= 0.5.0)
|
||||
rb-kqueue (0.2.0)
|
||||
rb-kqueue (0.2.2)
|
||||
ffi (>= 0.5.0)
|
||||
rdiscount (2.1.7)
|
||||
redcarpet (2.3.0)
|
||||
safe_yaml (0.9.7)
|
||||
toml (0.1.0)
|
||||
safe_yaml (1.0.3)
|
||||
thread_safe (0.3.3)
|
||||
toml (0.1.1)
|
||||
parslet (~> 1.5.0)
|
||||
typhoeus (0.6.7)
|
||||
ethon (~> 0.6.2)
|
||||
typhoeus (0.6.8)
|
||||
ethon (>= 0.7.0)
|
||||
tzinfo (1.1.0)
|
||||
thread_safe (~> 0.1)
|
||||
yajl-ruby (1.1.0)
|
||||
|
||||
PLATFORMS
|
||||
|
@ -75,3 +75,6 @@ exclude:
|
||||
- README.md
|
||||
- script
|
||||
- bundle
|
||||
|
||||
gems:
|
||||
- jekyll-sitemap
|
||||
|
30
sitemap.xml
30
sitemap.xml
@ -1,30 +0,0 @@
|
||||
---
|
||||
layout: nil
|
||||
---
|
||||
<?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.pages %}
|
||||
{% if page.layout != "nil" %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ page.url }}</loc>
|
||||
<lastmod>{{ site.time | date_to_xmlschema }}</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.7</priority>
|
||||
</url>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for post in site.posts %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ post.url }}</loc>
|
||||
<lastmod>{{ post.date | date_to_xmlschema }}</lastmod>
|
||||
<changefreq>weekly</changefreq>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
Loading…
x
Reference in New Issue
Block a user