From 084bb6bbdb2dd8ed23666e017352c898b46fc2ff Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Wed, 3 Mar 2021 11:36:25 +0100 Subject: [PATCH] Prepare for dynamic generation of navigation menus --- frontend/templates/frontend/sidebar.html | 81 +--------------------- frontend/templatetags/__init__.py | 0 frontend/templatetags/navigation.py | 85 ++++++++++++++++++++++++ kumify/settings.py | 22 ++++-- 4 files changed, 103 insertions(+), 85 deletions(-) create mode 100644 frontend/templatetags/__init__.py create mode 100644 frontend/templatetags/navigation.py diff --git a/frontend/templates/frontend/sidebar.html b/frontend/templates/frontend/sidebar.html index c0ce3a9..96f945e 100644 --- a/frontend/templates/frontend/sidebar.html +++ b/frontend/templates/frontend/sidebar.html @@ -1,3 +1,5 @@ +{% load navigation %} +