From 9e217d87c095170460a8580d5215ddf7cbe639f4 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 2 Sep 2018 02:09:56 +0200 Subject: Template refactoring to use twig --- templates/layouts/parts/footer.twig | 36 ++++++++++++++++++ templates/layouts/parts/navbar.twig | 74 +++++++++++++++++++++++++++++++++++++ 2 files changed, 110 insertions(+) create mode 100644 templates/layouts/parts/footer.twig create mode 100644 templates/layouts/parts/navbar.twig (limited to 'templates/layouts/parts') diff --git a/templates/layouts/parts/footer.twig b/templates/layouts/parts/footer.twig new file mode 100644 index 00000000..e986963a --- /dev/null +++ b/templates/layouts/parts/footer.twig @@ -0,0 +1,36 @@ +
+
+ +
diff --git a/templates/layouts/parts/navbar.twig b/templates/layouts/parts/navbar.twig new file mode 100644 index 00000000..a718fc48 --- /dev/null +++ b/templates/layouts/parts/navbar.twig @@ -0,0 +1,74 @@ +{% import _self as elements %} + +{% macro toolbar_item(label, link, active_page, icon) %} + + + {% if icon %}{% endif %} + {{ label|raw }} + + +{% endmacro %} + + -- cgit v1.2.3-54-g00ecf