mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
add contact footer config
This commit is contained in:
@@ -59,3 +59,4 @@ THANKS_TEXT = "Normal Text"
|
||||
DISABLE_MAIN_LINKS = False
|
||||
|
||||
NAVBAR_LINKS = [ ("Navbar-Item1", "/target"), ("Navbar-Item2", "/target2") ]
|
||||
IMPRESSUM_IS_CONTACT = True
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
<div class="footer-copyright {% if footerFixBottom %} fixed-bottom {% endif %}text-center py-3 bg-dark" style="position: relative; bottom: 0;">
|
||||
{% if conf["IMPRESSUM_IS_CONTACT"] %}
|
||||
<a style="color: rgba(255,255,255,.5);" href="/impressum">Impressum/Kontakt</a>
|
||||
{% else %}
|
||||
<a class="mr-2" style="color: rgba(255,255,255,.5);" href="/impressum">Impressum</a>
|
||||
<a class="ml-2" style="color: rgba(255,255,255,.5);" href="/contact">Kontakt</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user