mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-24 02:57:09 +00:00
Replace sitemap.xml with official Jekyll Sitemap gem
This commit is contained in:
parent
cec6aa75ed
commit
2ee8c7378d
4 changed files with 7 additions and 32 deletions
1
404.md
1
404.md
|
@ -2,6 +2,7 @@
|
|||
layout: page
|
||||
title: "Page Not Found"
|
||||
description: "Page not found. Your pixels are in another canvas."
|
||||
sitemap: false
|
||||
---
|
||||
|
||||
Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below.
|
||||
|
|
7
Gemfile
7
Gemfile
|
@ -1,12 +1,7 @@
|
|||
source 'https://rubygems.org'
|
||||
|
||||
gem 'jekyll'
|
||||
gem 'kramdown'
|
||||
gem 'coderay'
|
||||
gem 'rake'
|
||||
gem 'thor'
|
||||
gem 'activesupport'
|
||||
gem 'stringex'
|
||||
gem 'jekyll-sitemap'
|
||||
|
||||
group :test do
|
||||
gem 'html-proofer'
|
||||
|
|
|
@ -43,13 +43,13 @@ links:
|
|||
url: http://mademistakes.com
|
||||
external: true
|
||||
|
||||
# http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||
timezone: America/New_York
|
||||
future: true
|
||||
pygments: true
|
||||
#highlighter: pygments
|
||||
highlighter: pygments
|
||||
markdown: kramdown
|
||||
|
||||
gems:
|
||||
- jekyll-sitemap
|
||||
|
||||
# https://github.com/mojombo/jekyll/wiki/Permalinks
|
||||
permalink: /:categories/:title/
|
||||
|
||||
|
|
21
sitemap.xml
21
sitemap.xml
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
layout: nil
|
||||
---
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>{{ site.url }}</loc>
|
||||
</url>
|
||||
|
||||
{% for page in site.pages %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ page.url }}</loc>
|
||||
</url>
|
||||
{% endfor %}
|
||||
|
||||
{% for post in site.posts %}
|
||||
<url>
|
||||
<loc>{{ site.url }}{{ post.url }}</loc>
|
||||
</url>
|
||||
{% endfor %}
|
||||
</urlset>
|
Loading…
Reference in a new issue