Move footer to page bottom

This commit is contained in:
Igor Scheller 2024-02-25 12:00:25 +01:00 committed by xuwhite
parent 460b416ff1
commit aea88b3579
1 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ session_get('locale')|split('_')[0]|escape('html_attr') }}">
<html lang="{{ session_get('locale')|split('_')[0]|escape('html_attr') }}" class="h-100">
<head>
{% block head %}
<meta charset="utf-8"/>
@ -23,7 +23,7 @@
{% endblock %}
</head>
<body data-theme_type="{{ theme.type }}">
<body class="d-flex flex-column h-100" data-theme_type="{{ theme.type }}">
{% block body %}
{% block header %}
@ -36,11 +36,12 @@
{{ content|raw }}
{% endblock %}
</div>
<div id="footer">
{% block footer %}
{% include "layouts/parts/footer.twig" %}
{% endblock %}
</div>
</div>
<div id="footer" class="mt-auto">
{% block footer %}
{% include "layouts/parts/footer.twig" %}
{% endblock %}
</div>
{% block scripts %}{% endblock %}