From 3c5c2f5dbbbcb632e1a013c152505869434afc68 Mon Sep 17 00:00:00 2001
From: Darius Auding <Darius.auding@gmx.de>
Date: Sun, 30 Jul 2023 14:19:15 +0200
Subject: [PATCH] Add footer

---
 templates/base.html   |  3 +++
 templates/footer.html | 15 +++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 templates/footer.html

diff --git a/templates/base.html b/templates/base.html
index e1383f8f..fe3718cd 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -24,5 +24,8 @@
         <main>
             {% block main %}{% endblock %}
         </main>
+        <footer class="footer">
+            {% include "footer.html" %}
+        </footer>
     </body>
 </html>
diff --git a/templates/footer.html b/templates/footer.html
new file mode 100644
index 00000000..0795e516
--- /dev/null
+++ b/templates/footer.html
@@ -0,0 +1,15 @@
+{% set verein = get_taxonomy_term(kind="gemeinschaft", term="Verein") %}
+<div class="container">
+  <div class="columns">
+    <div class="column">
+      {% for page in verein.pages %}
+      <p class="mb-4"><a href="{{ page.permalink }}">{{ page.title }}</a></p>
+      {% endfor %}
+    </div>
+    <div class="column has-text-right">
+      <p class="title is-3">{{ config.title }}</p>
+      <p>Dieser Inhalt ist lizensiert unter CC-BY-SA 4.0+</p>
+      <a href="https://edugit.org/Teckids/team-pr/teckids.org">In Quell-Repo editieren</a>
+    </div>
+  </div>
+</div>
-- 
GitLab