Also keep 404 page up to date

This commit is contained in:
mathias 2019-07-25 00:52:17 +03:00
parent a3c9fa09f1
commit 519988ee14
3 changed files with 52 additions and 84 deletions

View File

@ -1,39 +1,4 @@
---
layout: main
layout: home
permalink: /404
---
<div id="col1">
<h1>
<svg viewBox="0 0 512 512">
<path d="M440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm-42.4 17.475c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm84.8 0c-3.075 0-6.15 1.175-8.5 3.525l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0l17-17c4.7-4.7 4.7-12.3 0-17a11.983 11.983 0 0 0-8.5-3.525zM476 60c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12h-24zm-52.6 11.5l-52 52L344.9 97c-9.3-9.4-24.5-9.4-33.9 0l-17.4 17.4C267.5 102.6 238.5 96 208 96 93.1 96 0 189.1 0 304s93.1 207.9 208 207.9 208-93.1 208-208c0-30.5-6.6-59.5-18.4-85.6l17.4-17.4c9.4-9.3 9.4-24.5 0-33.9l-26.5-26.5 52-52-17.1-17zm42 13.975c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm-295.318 55.082c7.846-.036 14.148 5.141 14.148 13.824 0 10.686-10.27 12.9-20.107 17.072-47.39 20.107-71.15 44.99-85.133 86.553h-.002c-3.407 10.128-7.607 20.789-18.293 20.789s-15.981-10.587-12.804-20.79c17.83-57.248 53.977-97.474 116.572-116.57 1.916-.584 3.808-.87 5.619-.878z"/>
</svg>
{{ site.title }}
</h1>
<p>
{{ site.title }} is more than your regular free OP server for Minecraft. This public multiplayer server combines free OP with anarchy. Use powerful operator commands as much as you like, without having to worry about rules. Fun and useful plugins such as WorldEdit, CommandSpy and PlayerParticles are available at any time.
</p>
<h2>Server IP: kaboom.pw</h2>
</div>
<div id="col2">
<a href="https://discordapp.com/invite/VeAeev4" class="button">
<span>
<svg viewBox="0 0 24 24">
<path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/>
</svg>
Chat
</span>
Join the {{ site.title }} Discord server, where you can chat with other players.
</a>
<a href="https://github.com/kaboomserver" class="button">
<span>
<svg viewBox="0 0 24 24">
<path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/>
</svg>
Source Code
</span>
Source code of custom {{ site.title }} plugins and infrastructure is available.
</a>
</div>

50
_layouts/home.html Normal file
View File

@ -0,0 +1,50 @@
---
layout: main
---
<div id="col1">
<h1>
<svg viewBox="0 0 512 512">
<path d="M440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm-42.4 17.475c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm84.8 0c-3.075 0-6.15 1.175-8.5 3.525l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0l17-17c4.7-4.7 4.7-12.3 0-17a11.983 11.983 0 0 0-8.5-3.525zM476 60c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12h-24zm-52.6 11.5l-52 52L344.9 97c-9.3-9.4-24.5-9.4-33.9 0l-17.4 17.4C267.5 102.6 238.5 96 208 96 93.1 96 0 189.1 0 304s93.1 207.9 208 207.9 208-93.1 208-208c0-30.5-6.6-59.5-18.4-85.6l17.4-17.4c9.4-9.3 9.4-24.5 0-33.9l-26.5-26.5 52-52-17.1-17zm42 13.975c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm-295.318 55.082c7.846-.036 14.148 5.141 14.148 13.824 0 10.686-10.27 12.9-20.107 17.072-47.39 20.107-71.15 44.99-85.133 86.553h-.002c-3.407 10.128-7.607 20.789-18.293 20.789s-15.981-10.587-12.804-20.79c17.83-57.248 53.977-97.474 116.572-116.57 1.916-.584 3.808-.87 5.619-.878z"/>
</svg>
{{ site.title }}
</h1>
<p>
{{ site.title }} is more than your regular free OP server for Minecraft. This public multiplayer server combines free OP with anarchy. Use powerful operator commands as much as you like, without having to worry about rules. Fun and useful plugins such as WorldEdit, CommandSpy and PlayerParticles are available at any time.
</p>
<h2>Server IP: kaboom.pw</h2>
</div>
<div id="col2">
<a href="news" class="button">
<span>
<svg viewBox="0 0 24 24">
<path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/>
</svg>
News
</span>
{% for post in site.posts limit:1 %}
{{ post.content | strip_html | truncatewords: 10 }}
{% endfor %}
</a>
<a href="https://discordapp.com/invite/cmxJpVf" class="button">
<span>
<svg viewBox="0 0 24 24">
<path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/>
</svg>
Chat
</span>
Join the Discord server to chat with other players.
</a>
<a href="https://github.com/kaboomserver" class="button">
<span>
<svg viewBox="0 0 24 24">
<path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/>
</svg>
Source Code
</span>
Source code of custom plugins and infrastructure is available.
</a>
</div>

View File

@ -1,50 +1,3 @@
---
layout: main
layout: home
---
<div id="col1">
<h1>
<svg viewBox="0 0 512 512">
<path d="M440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm-42.4 17.475c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm84.8 0c-3.075 0-6.15 1.175-8.5 3.525l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0l17-17c4.7-4.7 4.7-12.3 0-17a11.983 11.983 0 0 0-8.5-3.525zM476 60c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12h-24zm-52.6 11.5l-52 52L344.9 97c-9.3-9.4-24.5-9.4-33.9 0l-17.4 17.4C267.5 102.6 238.5 96 208 96 93.1 96 0 189.1 0 304s93.1 207.9 208 207.9 208-93.1 208-208c0-30.5-6.6-59.5-18.4-85.6l17.4-17.4c9.4-9.3 9.4-24.5 0-33.9l-26.5-26.5 52-52-17.1-17zm42 13.975c-3.075 0-6.15 1.175-8.5 3.525-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17a11.983 11.983 0 0 0-8.5-3.525zm-295.318 55.082c7.846-.036 14.148 5.141 14.148 13.824 0 10.686-10.27 12.9-20.107 17.072-47.39 20.107-71.15 44.99-85.133 86.553h-.002c-3.407 10.128-7.607 20.789-18.293 20.789s-15.981-10.587-12.804-20.79c17.83-57.248 53.977-97.474 116.572-116.57 1.916-.584 3.808-.87 5.619-.878z"/>
</svg>
{{ site.title }}
</h1>
<p>
{{ site.title }} is more than your regular free OP server for Minecraft. This public multiplayer server combines free OP with anarchy. Use powerful operator commands as much as you like, without having to worry about rules. Fun and useful plugins such as WorldEdit, CommandSpy and PlayerParticles are available at any time.
</p>
<h2>Server IP: kaboom.pw</h2>
</div>
<div id="col2">
<a href="news" class="button">
<span>
<svg viewBox="0 0 24 24">
<path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/>
</svg>
News
</span>
{% for post in site.posts limit:1 %}
{{ post.content | strip_html | truncatewords: 10 }}
{% endfor %}
</a>
<a href="https://discordapp.com/invite/cmxJpVf" class="button">
<span>
<svg viewBox="0 0 24 24">
<path d="M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"/>
</svg>
Chat
</span>
Join the Discord server to chat with other players.
</a>
<a href="https://github.com/kaboomserver" class="button">
<span>
<svg viewBox="0 0 24 24">
<path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/>
</svg>
Source Code
</span>
Source code of custom plugins and infrastructure is available.
</a>
</div>