From 48b6e1d0eddf313f49917e7e0272ac97bd88f03c Mon Sep 17 00:00:00 2001 From: sthag Date: Sun, 1 Mar 2026 16:31:10 +0100 Subject: [PATCH] feat: Changes to template inheritance Changes to what goes where. --- source/screens/demo/basics.liquid | 114 +++++++++--------- source/screens/demo/examples/clock.liquid | 8 +- .../screens/demo/examples/ui/windows.liquid | 6 +- source/screens/demo/index.liquid | 10 -- source/templates/hippie/default.liquid | 2 +- source/templates/hippie/full.liquid | 5 +- source/templates/hippie/page.liquid | 2 +- source/templates/hippie/simple.liquid | 6 - 8 files changed, 73 insertions(+), 80 deletions(-) diff --git a/source/screens/demo/basics.liquid b/source/screens/demo/basics.liquid index 6d190ec..a300a21 100644 --- a/source/screens/demo/basics.liquid +++ b/source/screens/demo/basics.liquid @@ -495,7 +495,7 @@ tags: oder das Element H2O

Die Zeichen in Absätzen bis hin zu ganzen Texten können, mit einem geeigneten Eingabegerät, markiert werden. Dies stellt sich wie folgt dar:

-

Bei spiel zum markieren 😉.

+

Beispiel zum markieren 😉.

Eine Markierung kann, mittels <mark>, auch durch den Autor geschehen. Diese stellt sich ein wenig anders dar: Diese Worte sind markiert. @@ -881,61 +881,63 @@ tags:

Innerhalb einer Gruppe können nicht nur Ein- und Ausgabefelder platziert werden. Andere Elemente ergänzen Information oder lockern das Erscheinungsbild auf.

Hier nun eine Liste weiterer Arten von Eingabefeldern:

-
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+

Interaktive Elemente

diff --git a/source/screens/demo/examples/clock.liquid b/source/screens/demo/examples/clock.liquid index ca0cc89..4890c40 100644 --- a/source/screens/demo/examples/clock.liquid +++ b/source/screens/demo/examples/clock.liquid @@ -15,10 +15,12 @@ tags: {% endblock %} {% block script %} -{{ block.super -}} + + + {% endcomment %} - - +{{ block.super -}} + -{% render 'hippie/partials/log-log' with 'Application ready... or is it?' as msg -%} {% endblock %} \ No newline at end of file diff --git a/source/templates/hippie/default.liquid b/source/templates/hippie/default.liquid index 4cb653e..b8cdbfd 100644 --- a/source/templates/hippie/default.liquid +++ b/source/templates/hippie/default.liquid @@ -29,7 +29,7 @@ {%- block body %}{% endblock -%} {%- block script %}{% endblock -%} diff --git a/source/templates/hippie/full.liquid b/source/templates/hippie/full.liquid index 5b22b17..d445469 100644 --- a/source/templates/hippie/full.liquid +++ b/source/templates/hippie/full.liquid @@ -37,9 +37,12 @@ {%- block body %}{% endblock -%} {% render 'hippie/partials/log-log' with 'BODY :: Loading script assets...' as msg -%} {%- block script %}{% endblock -%} +{% render 'hippie/partials/log-assets', state: true -%} +{% render 'hippie/partials/log-log', msg: 'BODY :: Assets loaded, running page specific script...', arg: true -%} {% render 'hippie/partials/log-log' with 'BODY end :: Page script might still be loading.' as msg -%} +{% render 'hippie/partials/log-log' with 'Application ready... or is it?' as msg -%} \ No newline at end of file diff --git a/source/templates/hippie/page.liquid b/source/templates/hippie/page.liquid index b6edd40..dd6e6ed 100644 --- a/source/templates/hippie/page.liquid +++ b/source/templates/hippie/page.liquid @@ -59,4 +59,4 @@ logPerf('EVENT :: jQuery \'ready\' event fired.'); }); -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/source/templates/hippie/simple.liquid b/source/templates/hippie/simple.liquid index b711fe6..b888886 100644 --- a/source/templates/hippie/simple.liquid +++ b/source/templates/hippie/simple.liquid @@ -7,9 +7,3 @@ {{ block.super -}} {% endblock %} - -{% block script %} - - - -{% endblock %} \ No newline at end of file