From 1a71f0fbdbb56c43f6faad439daff6e61a0f9d3c Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Mon, 30 Nov 2020 23:58:58 +0100 Subject: [PATCH] Add main role to base template --- templates/base.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/templates/base.html b/templates/base.html index 04335af..cee87dd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -34,6 +34,7 @@ </head> <body> + <header> <!-- Navigation --> <nav class="navbar navbar-default"> <div class="container-fluid"> @@ -88,15 +89,17 @@ <!-- Template Content head --> {% block template_content_head %}{% endblock %} + </header> + <main role="main"? <!-- Main Content --> - {% block content %}{% endblock %} - - <!-- Template Content footer --> - {% block template_content_footer %}{% endblock %} + {% block content %}{% endblock %} + </main> <!-- Sponsoren-Footer --> <footer class="page-footer" id="sponsoren-footer"> + <!-- Template Content footer --> + {% block template_content_footer %}{% endblock %} <div class="container"> <div class="row"> <div class="col s12"> -- GitLab