From 991ec394043bfde28cabf7a61cecb85ec1592f2a Mon Sep 17 00:00:00 2001 From: max/sooulix Date: Thu, 15 Aug 2024 18:05:53 +0200 Subject: [PATCH] [ui] footer links --- templates/base.html | 150 +++++++++++++-------------- templates/partials/footer_links.html | 6 ++ 2 files changed, 79 insertions(+), 77 deletions(-) create mode 100644 templates/partials/footer_links.html diff --git a/templates/base.html b/templates/base.html index 0327e1a..9d2b9a6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,88 +2,84 @@ - {% block head %} - - - - {% block title %} {{ SITENAME }} {% endblock %} - - - - - - {% if FEED_ALL_ATOM %} - - {% endif %} - {% if FEED_ALL_RSS %} - - {% endif %} - {% block extra_head %}{% endblock extra_head %} - {% endblock head %} - + {% block head %} + + + + {% block title %} {{ SITENAME }} {% endblock %} + + + + + + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + {% block extra_head %}{% endblock extra_head %} + {% endblock head %} + - {% include('partials/menu.html') %} -
- {% include('partials/breadcrumbs.html') %} - {% block content %} {% endblock %} -
- + dark:bg-neutral-900 dark:text-zinc-300 container mx-auto justify-center md:px-3 "> + {% include('partials/menu.html') %} +
+ {% include('partials/breadcrumbs.html') %} + {% block content %} {% endblock %} +
+ - {% include 'analytics.html' %} - {% include 'disqus_script.html' %} + {% include 'analytics.html' %} + {% include 'disqus_script.html' %} - + diff --git a/templates/partials/footer_links.html b/templates/partials/footer_links.html new file mode 100644 index 0000000..9551108 --- /dev/null +++ b/templates/partials/footer_links.html @@ -0,0 +1,6 @@ +
+
Powered by
+ {% for link_item in LINKS %} + {{ link_item[0] }} + {% endfor %} +