fix sitemap exclusions

PROTIP: Read the documentation for correct plugin and the documentation
might be a little more accurate.
This commit is contained in:
Aminda Suomalainen 2015-04-26 20:01:42 +03:00
parent 4a83c6c678
commit 23aac36722
4 changed files with 3 additions and 6 deletions

View File

@ -26,10 +26,4 @@ gems:
- jekyll-sitemap - jekyll-sitemap
sitemap: sitemap:
file: "/sitemap.xml" file: "/sitemap.xml"
exclude:
# Even if you can see the existence of these pages here, I don't
# wish to get search engine attention to them.
- "/404.html"
- "/bot.html"
- "/channel.html"
include: [PGP, PHP, keybase.txt, robots.txt] include: [PGP, PHP, keybase.txt, robots.txt]

View File

@ -1,6 +1,7 @@
--- ---
layout: page layout: page
permalink: /404.html permalink: /404.html
sitemap: false
--- ---
Page or file that you tried to reach doesn't appear to exist. Try checking Page or file that you tried to reach doesn't appear to exist. Try checking

View File

@ -1,6 +1,7 @@
--- ---
layout: page layout: page
permalink: /bot.html permalink: /bot.html
sitemap: false
--- ---
*Please read also [rules of my channels.](https://mikaela.info/channel.html)* *Please read also [rules of my channels.](https://mikaela.info/channel.html)*

View File

@ -1,6 +1,7 @@
--- ---
layout: page layout: page
permalink: /channel.html permalink: /channel.html
sitemap: false
--- ---
Rules of my IRC channels that may or may not exist with multiple names Rules of my IRC channels that may or may not exist with multiple names