Use Jekyll layouts

This commit is contained in:
rubenwardy 2015-08-30 12:03:27 +01:00
parent d5879d3345
commit 854c6f8bdd
10 changed files with 576 additions and 633 deletions

View File

@ -1,16 +1,9 @@
---
title: Page not found - Minetest
title: Page not found
jumbotron: credits
layout: default
---
{% include header.html %}
<div class="jumbotron reduced credits">
<div class="center">
<h1>Page not found :(</h1>
</div>
</div>
<div class="content">
<img style="float:left;margin: -10px 40px 0 0;"
src="media/unknown_node.jpg"
alt="unknown_node">
@ -22,6 +15,3 @@ title: Page not found - Minetest
<a href="https://github.com/minetest/minetest.github.io/issues">issues page
for this website</a>.
</p>
</div>
{% include footer.html %}

View File

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{{ page.title }}</title>
<title>{{ page.title }} - Minetest</title>
<link rel="stylesheet" href="lib/css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.min.css">
@ -40,7 +40,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="//minetest.net">
<img alt="Minetest" src="favicon-96x96.png" height="260%">
<img alt="Minetest" src="favicon-96x96.png" style="height:260%;">
</a>
<a class="navbar-brand" href="//minetest.net">
Minetest

18
_layouts/default.html Normal file
View File

@ -0,0 +1,18 @@
{% include header.html %}
<div class="jumbotron reduced
{% if page.jumbotron %}
{{ page.jumbotron }}
{% else %}
{{ page.title | downcase }}
{% endif %}">
<div class="center">
<h1>{{ page.title }}</h1>
</div>
</div>
<div class="content">
{{ content }}
</div>
{% include footer.html %}

View File

@ -1,16 +1,8 @@
---
title: Community - Minetest
title: Community
layout: default
---
{% include header.html %}
<div class="jumbotron reduced community">
<div class="center">
<h1>Community</h1>
</div>
</div>
<div class="content">
<h1>Get involved</h1>
<p>
@ -41,6 +33,3 @@ title: Community - Minetest
<p>
If you find problems or think something needs to be updated on this website, please contact us on <a href="irc.html">IRC</a> or <a href="https://forum.minetest.net">forums</a>.
</p>
</div>
{% include footer.html %}

View File

@ -1,33 +1,25 @@
---
title: Credits - Minetest
title: Credits
layout: default
---
{% include header.html %}
<div class="jumbotron reduced credits">
<div class="center">
<h1>Credits</h1>
</div>
</div>
<div class="content">
<h2>Core Developers</h2>
<ul>
<li><div> Perttu Ahola (celeron55)</div></li>
<li><div> Ryan Kwolek (kwolekr aka hmmmm) <a href="mailto:&#x6b;&#x77;&#x6f;&#x6c;&#x65;&#x6b;&#x72;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;" title="&#x6b;&#x77;&#x6f;&#x6c;&#x65;&#x6b;&#x72;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;">&#x6b;&#x77;&#x6f;&#x6c;&#x65;&#x6b;&#x72;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;</a></div></li>
<li><div> PilzAdam <a href="mailto:&#x70;&#x69;&#x6c;&#x7a;&#x61;&#x64;&#x61;&#x6d;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;" title="&#x70;&#x69;&#x6c;&#x7a;&#x61;&#x64;&#x61;&#x6d;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;">&#x70;&#x69;&#x6c;&#x7a;&#x61;&#x64;&#x61;&#x6d;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;</a></div></li>
<li><div> Lisa Milne (darkrose) <a href="mailto:&#x6c;&#x69;&#x73;&#x61;&#x40;&#x6c;&#x74;&#x6d;&#x6e;&#x65;&#x74;&#x2e;&#x63;&#x6f;&#x6d;" title="&#x6c;&#x69;&#x73;&#x61;&#x40;&#x6c;&#x74;&#x6d;&#x6e;&#x65;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#x6c;&#x69;&#x73;&#x61;&#x40;&#x6c;&#x74;&#x6d;&#x6e;&#x65;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a></div></li>
<li><div> Maciej Kasatkin (RealBadAngel) <a href="mailto:&#x6d;&#x6b;&#x40;&#x72;&#x65;&#x61;&#x6c;&#x62;&#x61;&#x64;&#x61;&#x6e;&#x67;&#x65;&#x6c;&#x2e;&#x70;&#x6c;" title="&#x6d;&#x6b;&#x40;&#x72;&#x65;&#x61;&#x6c;&#x62;&#x61;&#x64;&#x61;&#x6e;&#x67;&#x65;&#x6c;&#x2e;&#x70;&#x6c;">&#x6d;&#x6b;&#x40;&#x72;&#x65;&#x61;&#x6c;&#x62;&#x61;&#x64;&#x61;&#x6e;&#x67;&#x65;&#x6c;&#x2e;&#x70;&#x6c;</a></div></li>
<li><div> sfan5 <a href="mailto:&#x73;&#x66;&#x61;&#x6e;&#x35;&#x40;&#x6c;&#x69;&#x76;&#x65;&#x2e;&#x64;&#x65;" title="&#x73;&#x66;&#x61;&#x6e;&#x35;&#x40;&#x6c;&#x69;&#x76;&#x65;&#x2e;&#x64;&#x65;">&#x73;&#x66;&#x61;&#x6e;&#x35;&#x40;&#x6c;&#x69;&#x76;&#x65;&#x2e;&#x64;&#x65;</a></div></li>
<li><div> kahrl <a href="mailto:&#x6b;&#x61;&#x68;&#x72;&#x6c;&#x40;&#x67;&#x6d;&#x78;&#x2e;&#x6e;&#x65;&#x74;" title="&#x6b;&#x61;&#x68;&#x72;&#x6c;&#x40;&#x67;&#x6d;&#x78;&#x2e;&#x6e;&#x65;&#x74;">&#x6b;&#x61;&#x68;&#x72;&#x6c;&#x40;&#x67;&#x6d;&#x78;&#x2e;&#x6e;&#x65;&#x74;</a></div></li>
<li><div> sapier</div></li>
<li><div> ShadowNinja <a href="mailto:&#x73;&#x68;&#x61;&#x64;&#x6f;&#x77;&#x6e;&#x69;&#x6e;&#x6a;&#x61;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;" title="&#x73;&#x68;&#x61;&#x64;&#x6f;&#x77;&#x6e;&#x69;&#x6e;&#x6a;&#x61;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;">&#x73;&#x68;&#x61;&#x64;&#x6f;&#x77;&#x6e;&#x69;&#x6e;&#x6a;&#x61;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;</a></div></li>
<li><div> Nathanaël Courant (Nore/Novatux) <a href="mailto:&#x6e;&#x6f;&#x72;&#x65;&#x40;&#x6d;&#x65;&#x73;&#x65;&#x63;&#x6f;&#x6e;&#x73;&#x2e;&#x6e;&#x65;&#x74;" title="&#x6e;&#x6f;&#x72;&#x65;&#x40;&#x6d;&#x65;&#x73;&#x65;&#x63;&#x6f;&#x6e;&#x73;&#x2e;&#x6e;&#x65;&#x74;">&#x6e;&#x6f;&#x72;&#x65;&#x40;&#x6d;&#x65;&#x73;&#x65;&#x63;&#x6f;&#x6e;&#x73;&#x2e;&#x6e;&#x65;&#x74;</a></div></li>
<li><div> BlockMen</div></li>
<li><div> Craig Robbins (Zeno)</div></li>
<li><div> Loic Blot (nerzhul/nrz)</div></li>
<li><div> Paramat</div></li>
<li>Perttu Ahola (celeron55)</li>
<li>Ryan Kwolek (kwolekr aka hmmmm) <a href="mailto:&#x6b;&#x77;&#x6f;&#x6c;&#x65;&#x6b;&#x72;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;" title="&#x6b;&#x77;&#x6f;&#x6c;&#x65;&#x6b;&#x72;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;">&#x6b;&#x77;&#x6f;&#x6c;&#x65;&#x6b;&#x72;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;</a></li>
<li>PilzAdam <a href="mailto:&#x70;&#x69;&#x6c;&#x7a;&#x61;&#x64;&#x61;&#x6d;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;" title="&#x70;&#x69;&#x6c;&#x7a;&#x61;&#x64;&#x61;&#x6d;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;">&#x70;&#x69;&#x6c;&#x7a;&#x61;&#x64;&#x61;&#x6d;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;</a></li>
<li>Lisa Milne (darkrose) <a href="mailto:&#x6c;&#x69;&#x73;&#x61;&#x40;&#x6c;&#x74;&#x6d;&#x6e;&#x65;&#x74;&#x2e;&#x63;&#x6f;&#x6d;" title="&#x6c;&#x69;&#x73;&#x61;&#x40;&#x6c;&#x74;&#x6d;&#x6e;&#x65;&#x74;&#x2e;&#x63;&#x6f;&#x6d;">&#x6c;&#x69;&#x73;&#x61;&#x40;&#x6c;&#x74;&#x6d;&#x6e;&#x65;&#x74;&#x2e;&#x63;&#x6f;&#x6d;</a></li>
<li>Maciej Kasatkin (RealBadAngel) <a href="mailto:&#x6d;&#x6b;&#x40;&#x72;&#x65;&#x61;&#x6c;&#x62;&#x61;&#x64;&#x61;&#x6e;&#x67;&#x65;&#x6c;&#x2e;&#x70;&#x6c;" title="&#x6d;&#x6b;&#x40;&#x72;&#x65;&#x61;&#x6c;&#x62;&#x61;&#x64;&#x61;&#x6e;&#x67;&#x65;&#x6c;&#x2e;&#x70;&#x6c;">&#x6d;&#x6b;&#x40;&#x72;&#x65;&#x61;&#x6c;&#x62;&#x61;&#x64;&#x61;&#x6e;&#x67;&#x65;&#x6c;&#x2e;&#x70;&#x6c;</a></li>
<li>sfan5 <a href="mailto:&#x73;&#x66;&#x61;&#x6e;&#x35;&#x40;&#x6c;&#x69;&#x76;&#x65;&#x2e;&#x64;&#x65;" title="&#x73;&#x66;&#x61;&#x6e;&#x35;&#x40;&#x6c;&#x69;&#x76;&#x65;&#x2e;&#x64;&#x65;">&#x73;&#x66;&#x61;&#x6e;&#x35;&#x40;&#x6c;&#x69;&#x76;&#x65;&#x2e;&#x64;&#x65;</a></li>
<li>kahrl <a href="mailto:&#x6b;&#x61;&#x68;&#x72;&#x6c;&#x40;&#x67;&#x6d;&#x78;&#x2e;&#x6e;&#x65;&#x74;" title="&#x6b;&#x61;&#x68;&#x72;&#x6c;&#x40;&#x67;&#x6d;&#x78;&#x2e;&#x6e;&#x65;&#x74;">&#x6b;&#x61;&#x68;&#x72;&#x6c;&#x40;&#x67;&#x6d;&#x78;&#x2e;&#x6e;&#x65;&#x74;</a></li>
<li>sapier</li>
<li>ShadowNinja <a href="mailto:&#x73;&#x68;&#x61;&#x64;&#x6f;&#x77;&#x6e;&#x69;&#x6e;&#x6a;&#x61;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;" title="&#x73;&#x68;&#x61;&#x64;&#x6f;&#x77;&#x6e;&#x69;&#x6e;&#x6a;&#x61;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;">&#x73;&#x68;&#x61;&#x64;&#x6f;&#x77;&#x6e;&#x69;&#x6e;&#x6a;&#x61;&#x40;&#x6d;&#x69;&#x6e;&#x65;&#x74;&#x65;&#x73;&#x74;&#x2e;&#x6e;&#x65;&#x74;</a></li>
<li>Nathanaël Courant (Nore/Novatux) <a href="mailto:&#x6e;&#x6f;&#x72;&#x65;&#x40;&#x6d;&#x65;&#x73;&#x65;&#x63;&#x6f;&#x6e;&#x73;&#x2e;&#x6e;&#x65;&#x74;" title="&#x6e;&#x6f;&#x72;&#x65;&#x40;&#x6d;&#x65;&#x73;&#x65;&#x63;&#x6f;&#x6e;&#x73;&#x2e;&#x6e;&#x65;&#x74;">&#x6e;&#x6f;&#x72;&#x65;&#x40;&#x6d;&#x65;&#x73;&#x65;&#x63;&#x6f;&#x6e;&#x73;&#x2e;&#x6e;&#x65;&#x74;</a></li>
<li>BlockMen</li>
<li>Craig Robbins (Zeno)</li>
<li>Loic Blot (nerzhul/nrz)</li>
<li>Paramat</li>
</ul>
<div class="line"></div>
@ -71,6 +63,3 @@ title: Credits - Minetest
<p>
Want to <a href="/development" class="wikilink1" title="development">contribute</a>?
</p>
</div>
{% include footer.html %}

View File

@ -1,16 +1,8 @@
---
title: Customize - Minetest
title: Customize
layout: default
---
{% include header.html %}
<div class="jumbotron reduced customize">
<div class="center">
<h1>Customize</h1>
</div>
</div>
<div class="content">
<h1 id="subgames">Subgames</h1>
<p>
<a href="http://wiki.minetest.net/Subgames">Subgames</a> form a foundation for the game. Different subgames have different objectives such as survival, building, or player vs. player.
@ -111,6 +103,7 @@ title: Customize - Minetest
<li><a href="https://forum.minetest.net/viewtopic.php?id=4086">UFOs</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-sm-6">
@ -159,6 +152,3 @@ title: Customize - Minetest
Find <a href="https://forum.minetest.net/viewforum.php?f=4">texture packs</a> on the forums.
<!-- TODO: Make a gallery of popular packs -->
</p>
</div>
{% include footer.html %}

View File

@ -1,16 +1,8 @@
---
title: Development - Minetest
title: Development
layout: default
---
{% include header.html %}
<div class="jumbotron reduced development">
<div class="center">
<h1>Development</h1>
</div>
</div>
<div class="content">
<h1>Overview</h1>
<h2>Getting into development</h2>
@ -133,8 +125,6 @@ title: Development - Minetest
You can tip money to celeron55, to be mostly used for hosting of websites and overall maintenance effort on the project.
</p>
<p>
<div style="text-align: center;">
<div style="display: inline-block; width: 300px;">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
@ -152,13 +142,11 @@ title: Development - Minetest
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="EUR">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!">
</form>
</div>
</div>
</p>
<p>
<strong>PayPal address:</strong> celeron55@gmail.com (Please note in the message that you&#039;re supporting Minetest in particular.)
</p>
@ -188,6 +176,3 @@ title: Development - Minetest
<p>
<a class="thumbnail no-border" href="http://www.cafepress.co.uk/profile/minetest"><img src="http://www.minetest.net/_media/need_some_coffee_mug_trans.png" alt="" width="200"></a>
</p>
</div>
{% include footer.html %}

View File

@ -1,16 +1,8 @@
---
title: Download - Minetest
title: Download
layout: default
---
{% include header.html %}
<div class="jumbotron reduced downloads">
<div class="center">
<h1>Downloads</h1>
</div>
</div>
<div class="content">
<p class="intro">
<strong>Thank you for trying out Minetest.</strong><br>
Are you a new user?<br>
@ -134,6 +126,3 @@ title: Download - Minetest
You will probably want <a href="https://github.com/minetest/minetest_game">minetest_game</a>. Put the game in your games directory.</p>
<p>See <a href="https://github.com/minetest/minetest/blob/master/README.txt">README.txt</a> for details on how to compile.</p>
</div>
{% include footer.html %}

View File

@ -1,5 +1,5 @@
---
title: Home - Minetest
title: Home
---
{% include header.html %}

View File

@ -1,36 +1,34 @@
---
title: Community - Minetest
title: Community
jumbotron: IRC
layout: default
---
{% include header.html %}
<div class="jumbotron reduced irc">
<div class="center">
<h1>IRC</h1>
</div>
</div>
<div class="content">
<h1>Channels</h1>
<div>
<p>
Join one of our <abbr title="Internet Relay Chat">IRC</abbr> channels on Freenode:<br/>
</p>
<ul>
<li><strong><a href="http://webchat.freenode.net/?channels=#minetest">#minetest</a></strong> (<a href="http://irc.minetest.ru/minetest">logs</a>): main channel<br/>
<li>
<strong><a href="http://webchat.freenode.net/?channels=#minetest">#minetest</a></strong>
(<a href="http://irc.minetest.ru/minetest">logs</a>): main channel
</li>
<li><strong><a href="http://webchat.freenode.net/?channels=#minetest-dev">#minetest-dev</a></strong> (<a href="http://irc.minetest.ru/minetest-dev">logs</a>): development channel, only serious stuff; note that webchat is muted due to too much spam/flood<br/>
<li>
<strong>
<a href="http://webchat.freenode.net/?channels=#minetest-dev">#minetest-dev</a>
</strong>
(<a href="http://irc.minetest.ru/minetest-dev">logs</a>):
development channel, only serious stuff; note that webchat is muted due to too much spam/flood.
</li>
</ul>
</div>
<h1>Rules</h1>
<p>
Some people don't know how to behave in <abbr title="Internet Relay Chat">IRC</abbr>, so here are some simple rules:
Some people don't know how to behave in <abbr title="Internet Relay Chat">IRC</abbr>,
so here are some simple rules:
</p>
<ul>
@ -49,17 +47,12 @@ title: Community - Minetest
<h1>Other languages</h1>
<p>
Channels about Minetest in other languages (note that most people hang out on <code>#minetest</code>, which is the main channel)
Channels about Minetest in other languages (note that most people hang out
on <code>#minetest</code>, which is the main channel).
</p>
<ul>
<li><div> <strong><a href="http://webchat.freenode.net/?channels=#minetest-de">#minetest-de</a></strong> German channel</div>
</li>
<li><div> <strong><a href="http://webchat.freenode.net/?channels=##minetest-es">##minetest-es</a></strong> Spanish channel</div>
</li>
<li><div> <strong><a href="http://webchat.freenode.net/?channels=#minetest-fr">#minetest-fr</a></strong> French channel</div>
</li>
<li><strong><a href="http://webchat.freenode.net/?channels=#minetest-de">#minetest-de</a></strong> German channel</li>
<li><strong><a href="http://webchat.freenode.net/?channels=##minetest-es">##minetest-es</a></strong> Spanish channel</li>
<li><strong><a href="http://webchat.freenode.net/?channels=#minetest-fr">#minetest-fr</a></strong> French channel</li>
</ul>
</div>
{% include footer.html %}