mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 00:01:36 +01:00
add fixed-footer config template option
This commit is contained in:
@@ -187,7 +187,8 @@ def thanks():
|
||||
thanksTemplate = None
|
||||
|
||||
with open(thanksTemplatePath) as f:
|
||||
thanksTemplate = flask.Markup(flask.render_template_string(f.read(), conf=app.config))
|
||||
thanksTemplate = flask.Markup(flask.render_template_string(f.read(), conf=app.config,
|
||||
footerFixBottom=True))
|
||||
|
||||
return flask.render_template("stub.html", content=thanksTemplate)
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<div class="footer-copyright text-center py-3 bg-dark" style="position: relative; bottom: 0;">
|
||||
<div class="footer-copyright {% if footerFixBottom %} fixed-bottom {% endif %}text-center py-3 bg-dark" style="position: relative; bottom: 0;">
|
||||
<a style="color: rgba(255,255,255,.5);" href="/impressum">Impressum/Kontakt</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user