Merge pull request #4 from CraigyDavi/redirects

Add redirects
This commit is contained in:
Calinou 2015-08-31 11:33:08 +02:00
commit 80f64ee0ba
9 changed files with 31 additions and 0 deletions

View File

@ -2,6 +2,8 @@
title: Page not found title: Page not found
jumbotron: credits jumbotron: credits
layout: default layout: default
redirect_from:
- /404/
--- ---
<img style="float:left;margin: -10px 40px 0 0;" <img style="float:left;margin: -10px 40px 0 0;"

3
_config.yml Normal file
View File

@ -0,0 +1,3 @@
permalink: /:title.html
gems:
- jekyll-redirect-from

View File

@ -1,6 +1,8 @@
--- ---
title: Community title: Community
layout: default layout: default
redirect_from:
- /community/
--- ---
<h1>Get involved</h1> <h1>Get involved</h1>

View File

@ -1,6 +1,9 @@
--- ---
title: Credits title: Credits
layout: default layout: default
redirect_from:
- /credits/
- /contributors/
--- ---
<h2>Core Developers</h2> <h2>Core Developers</h2>

View File

@ -1,6 +1,12 @@
--- ---
title: Customize title: Customize
layout: default layout: default
redirect_from:
- /customize/
- /mods/
- /games/
- /subgames/
- /texturepacks/
--- ---
<h1 id="subgames">Subgames</h1> <h1 id="subgames">Subgames</h1>

View File

@ -1,6 +1,11 @@
--- ---
title: Development title: Development
layout: default layout: default
redirect_from:
- /development/
- /reporting_issues/
- /donate/
- /support/
--- ---
<h1>Overview</h1> <h1>Overview</h1>

View File

@ -1,6 +1,11 @@
--- ---
title: Download title: Download
layout: default layout: default
redirect_from:
- /downloads/
- /download/
- /old_releases/
- /other_distros/
--- ---
<p class="intro"> <p class="intro">

View File

@ -1,5 +1,8 @@
--- ---
title: Home title: Home
redirect_from:
- /index/
- /screenshots/
--- ---
{% include header.html %} {% include header.html %}

View File

@ -2,6 +2,8 @@
title: IRC title: IRC
jumbotron: IRC jumbotron: IRC
layout: default layout: default
redirect_from:
- /irc/
--- ---
<h1>Channels</h1> <h1>Channels</h1>