From c0ab137753efef9aafaf44eaf1f127fe220f5e9f Mon Sep 17 00:00:00 2001 From: Stephan Date: Wed, 10 Oct 2018 22:41:15 +0200 Subject: [PATCH] =?UTF-8?q?Korrekturen=20f=C3=BCr=20vorherigen=20Push?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Details der nunjucks Vorlagen korrigiert - Fehler der Einbindung in nunjucks Vorlagen behoben --- source/pages/demo.njk | 2 +- source/pages/demo/blank.njk | 2 +- source/pages/demo/examples.njk | 12 ++++++------ source/pages/demo/maintenance.njk | 2 +- source/pages/demo/os.njk | 2 +- source/pages/demo/tests.njk | 7 ++++--- source/templates/demo/default.njk | 2 ++ source/templates/demo/extended.njk | 2 ++ source/templates/demo/macros/nav-macro.njk | 8 -------- source/templates/demo/maintenance.njk | 2 ++ source/templates/demo/partials/head-meta.njk | 2 -- 11 files changed, 20 insertions(+), 23 deletions(-) diff --git a/source/pages/demo.njk b/source/pages/demo.njk index 0dd36ca..14de17c 100644 --- a/source/pages/demo.njk +++ b/source/pages/demo.njk @@ -4,7 +4,7 @@ {% extends "demo/default.njk" %} -{% block title %}index - HIPPIE{% endblock %} +{% block title %}Index{% endblock %} {% block head %} {{ super() }} diff --git a/source/pages/demo/blank.njk b/source/pages/demo/blank.njk index a653c60..7f12f0e 100644 --- a/source/pages/demo/blank.njk +++ b/source/pages/demo/blank.njk @@ -4,7 +4,7 @@ {% extends "demo/default.njk" %} -{% block title %}blank - HIPPIE{% endblock %} +{% block title %}Blank{% endblock %} {% block head %} {{ super() }} diff --git a/source/pages/demo/examples.njk b/source/pages/demo/examples.njk index fea23ee..49a8cc3 100644 --- a/source/pages/demo/examples.njk +++ b/source/pages/demo/examples.njk @@ -35,7 +35,7 @@

<section>

section>div.float_space_left>img^p+p
-
Avatar
+
Fahne von interaktionsweise

Vorname Name
Straße 1, 01234 Stadt

+49 (0)123 1337 0000
name@domain.tld

div.space_left_fourth
@@ -167,8 +167,8 @@

Gruppierung

ul.list_link>(li>a>img)*2+li>a
@@ -238,7 +238,7 @@

Wikipedia

- {% include "hippie/partials/footer-status.njk" %} + {% include "demo/partials/footer-status.njk" %}
@@ -249,7 +249,7 @@

Wikipedia

- {% include "hippie/partials/footer-status.njk" %} + {% include "demo/partials/footer-status.njk" %}
@@ -260,7 +260,7 @@

Wikipedia

- {% include "hippie/partials/footer-status.njk" %} + {% include "demo/partials/footer-status.njk" %}
diff --git a/source/pages/demo/maintenance.njk b/source/pages/demo/maintenance.njk index fee0a93..b629390 100644 --- a/source/pages/demo/maintenance.njk +++ b/source/pages/demo/maintenance.njk @@ -4,7 +4,7 @@ {% extends "demo/maintenance.njk" %} -{% block title %}Wartung{% endblock %} +{% block title %}Maintenance{% endblock %} {% block head %} {{ super() }} diff --git a/source/pages/demo/os.njk b/source/pages/demo/os.njk index c177b8d..326bc2a 100644 --- a/source/pages/demo/os.njk +++ b/source/pages/demo/os.njk @@ -4,7 +4,7 @@ {% extends "demo/extended.njk" %} -{% block title %}demo{% endblock %} +{% block title %}OS{% endblock %} {% block head %} {{ super() }} {% endblock %} diff --git a/source/pages/demo/tests.njk b/source/pages/demo/tests.njk index 202bd43..5c4a6c4 100644 --- a/source/pages/demo/tests.njk +++ b/source/pages/demo/tests.njk @@ -1,10 +1,10 @@ -{% set pageId = "blank" %} +{% set pageId = "tests" %} {% set pageClass = "height_full" %} {% extends "demo/default.njk" %} -{% block title %}tests - HIPPIE{% endblock %} +{% block title %}Tests{% endblock %} {% block head %} {{ super() }} @@ -29,8 +29,9 @@ Caps Lock is ON. +

Navigation

{% import "demo/macros/nav-macro.njk" as forms %} -{{ forms.active('zubereitung') }} +{{ forms.active('Beispiel') }} {% endblock %} {% block script %} diff --git a/source/templates/demo/default.njk b/source/templates/demo/default.njk index b285196..1a31e59 100644 --- a/source/templates/demo/default.njk +++ b/source/templates/demo/default.njk @@ -5,6 +5,8 @@ {% block head %} + {% block title %}{% endblock %} - HIPPIE + {% include "demo/partials/head-meta.njk" %} diff --git a/source/templates/demo/extended.njk b/source/templates/demo/extended.njk index 4b56136..c928fe4 100644 --- a/source/templates/demo/extended.njk +++ b/source/templates/demo/extended.njk @@ -5,6 +5,8 @@ {% block head %} + {% block title %}{% endblock %} - HIPPIE + {% include "demo/partials/head-meta.njk" %} {%- endmacro %} -{% macro top() %} - -{%- endmacro %} diff --git a/source/templates/demo/maintenance.njk b/source/templates/demo/maintenance.njk index f074873..a2701d3 100644 --- a/source/templates/demo/maintenance.njk +++ b/source/templates/demo/maintenance.njk @@ -5,6 +5,8 @@ {% block head %} + {% block title %}{% endblock %} - HIPPIE + {% include "demo/partials/head-meta.njk" %} diff --git a/source/templates/demo/partials/head-meta.njk b/source/templates/demo/partials/head-meta.njk index e74eb8f..f38f8ae 100644 --- a/source/templates/demo/partials/head-meta.njk +++ b/source/templates/demo/partials/head-meta.njk @@ -1,6 +1,4 @@ -{% block title %}{% endblock %} - HIPPIE -