gulp tasks and nunjucks templating

- reworked nearly all gulp tasks
- added html templating with nunjucks
- replaced some old html files
- started correction of scss and js files according to lint results
This commit is contained in:
Stephan Hagedorn 2017-10-02 00:02:06 +02:00
parent 6e4b8cf94b
commit b8733af03c
37 changed files with 3911 additions and 200 deletions

22
source/pages/404.nunjucks Normal file
View file

@ -0,0 +1,22 @@
<!-- index.nunjucks -->
{% set pageId = "404" %}
{% extends "maintenance.nunjucks" %}
{% block title %}index{% endblock %}
{% block head %}
{{ super() }}
<link rel="stylesheet" type="text/css" media="all" href="./css/maintenance.css"/>
{% endblock %}
{% block body_content %}
<div class="main_center">
<h1>404</h1>
<p>Hier ist nichts.</p>
<blockquote cite="https://de.wikipedia.org/wiki/HTTP-Statuscode#4xx_.E2.80.93_Client-Fehler">
<p>Die angeforderte Ressource wurde nicht gefunden. Dieser Statuscode kann ebenfalls verwendet werden, um eine Anfrage ohne näheren Grund abzuweisen. Links, welche auf solche Fehlerseiten verweisen, werden auch als Tote Links bezeichnet.</p>
<p class="quote_source"><a href="https://de.wikipedia.org/wiki/HTTP-Statuscode#4xx_.E2.80.93_Client-Fehler">Wikipedia</a></p>
</blockquote>
</div>
{% include "partials/footer-status.nunjucks" %}
{% endblock %}