From 36cf5178f2007a58d7941e31cfa79e949736b0dd Mon Sep 17 00:00:00 2001 From: sthag Date: Sun, 15 Feb 2026 21:59:25 +0100 Subject: [PATCH] feat: Replace nunjucks with new template and screen - Replace ui index with liquid - Add simple template inheriting from default --- source/screens/demo/examples/ui/index.liquid | 24 +++++++++++++++++++ source/screens/demo/examples/ui/index.njk | 25 -------------------- source/templates/hippie/simple.liquid | 15 ++++++++++++ 3 files changed, 39 insertions(+), 25 deletions(-) create mode 100644 source/screens/demo/examples/ui/index.liquid delete mode 100644 source/screens/demo/examples/ui/index.njk create mode 100644 source/templates/hippie/simple.liquid diff --git a/source/screens/demo/examples/ui/index.liquid b/source/screens/demo/examples/ui/index.liquid new file mode 100644 index 0000000..614beed --- /dev/null +++ b/source/screens/demo/examples/ui/index.liquid @@ -0,0 +1,24 @@ +--- +title: UI +tags: +- demoExample +- index +--- +{% layout "hippie/simple.liquid" %} + +{% block title %}{{ title }}{% endblock %} + +{% block body %} +
+ +
+{% endblock %} \ No newline at end of file diff --git a/source/screens/demo/examples/ui/index.njk b/source/screens/demo/examples/ui/index.njk deleted file mode 100644 index 6c8d79f..0000000 --- a/source/screens/demo/examples/ui/index.njk +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: UI -tags: - - demoExample - - index ---- -{% extends "demo/_default.njk" %} -{% import "hippie/macros/_placeholder.njk" as ph %} - -{% block title %}{{ title }}{% endblock %} - -{% block body %} -
- -
-{% endblock %} \ No newline at end of file diff --git a/source/templates/hippie/simple.liquid b/source/templates/hippie/simple.liquid new file mode 100644 index 0000000..b644f9f --- /dev/null +++ b/source/templates/hippie/simple.liquid @@ -0,0 +1,15 @@ +{% assign pageId = page.fileSlug -%} +{% layout "hippie/default.liquid" %} + +{% block title %}{{ title }}{% endblock %} + +{% block links %} +{{ block.super -}} + +{% endblock %} + +{% block script %} + + + +{% endblock %} \ No newline at end of file