Skip to content
Snippets Groups Projects
Verified Commit 86e2cd39 authored by nd's avatar nd
Browse files

add footer support to be used to add impressum and datenschutzerklärung, closes #11

parent 7d54a75d
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,8 @@ ROLES_BASEROLES=['base']
SQLALCHEMY_TRACK_MODIFICATIONS=False
FOOTER_CONTENT='<div class="container"><span class="text-muted">Place sticky footer content here.</span></div>'
# do NOT set in production
#TEMPLATES_AUTO_RELOAD=True
......
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 2em;
line-height: 2em;
background-color: #f5f5f5;
}
......@@ -95,5 +95,11 @@
{% endblock body %}
</main>
<footer class="footer">
{% block footer %}
{{ config["FOOTER_CONTENT"]|safe }}
{% endblock footer %}
</footer>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment