From 7f84235f0828cdb18f3db8fe514794e01eff186a Mon Sep 17 00:00:00 2001 From: sthag Date: Thu, 19 Jun 2025 11:07:54 +0200 Subject: [PATCH] fix: Clean up small things - Rename footer macro - Remove unnecessary div in components page - Rename file comments --- source/screens/demo/components.njk | 2 -- source/templates/hippie/_maintenance.njk | 2 +- .../templates/hippie/macros/footer-status.njk | 17 ----------------- .../templates/hippie/partials/_body_hover.njk | 2 +- source/templates/hippie/partials/_body_nav.njk | 2 +- .../templates/hippie/partials/_head_links.njk | 2 +- source/templates/hippie/partials/_head_meta.njk | 2 +- .../templates/hippie/partials/_head_script.njk | 2 +- 8 files changed, 6 insertions(+), 25 deletions(-) delete mode 100644 source/templates/hippie/macros/footer-status.njk diff --git a/source/screens/demo/components.njk b/source/screens/demo/components.njk index 443999b..e6ad058 100644 --- a/source/screens/demo/components.njk +++ b/source/screens/demo/components.njk @@ -15,7 +15,6 @@ tags: {% block main %} -

Medienformat Abfragen

@@ -210,7 +209,6 @@ tags:
-
{% endblock %} {% block script %} diff --git a/source/templates/hippie/_maintenance.njk b/source/templates/hippie/_maintenance.njk index 975874b..2bbc5e6 100644 --- a/source/templates/hippie/_maintenance.njk +++ b/source/templates/hippie/_maintenance.njk @@ -1,5 +1,5 @@ -{% import "hippie/macros/footer-status.njk" as status %} +{% import "hippie/macros/_footer.njk" as status %} diff --git a/source/templates/hippie/macros/footer-status.njk b/source/templates/hippie/macros/footer-status.njk deleted file mode 100644 index 6668607..0000000 --- a/source/templates/hippie/macros/footer-status.njk +++ /dev/null @@ -1,17 +0,0 @@ -{% macro footer(email = 'admin@domain.tld', app = 'Application', version = 'ver.s.ion', system = 'System Name', domain = 'domain.tld:port', type) %} - - {% if not type or type == 'status' %} - - {% else %} - - {% endif %} -{% endmacro %} \ No newline at end of file diff --git a/source/templates/hippie/partials/_body_hover.njk b/source/templates/hippie/partials/_body_hover.njk index b76167d..08311a3 100644 --- a/source/templates/hippie/partials/_body_hover.njk +++ b/source/templates/hippie/partials/_body_hover.njk @@ -1,2 +1,2 @@ - +
\ No newline at end of file diff --git a/source/templates/hippie/partials/_body_nav.njk b/source/templates/hippie/partials/_body_nav.njk index 58fed6d..632054f 100644 --- a/source/templates/hippie/partials/_body_nav.njk +++ b/source/templates/hippie/partials/_body_nav.njk @@ -1,4 +1,4 @@ - +