comparison default/base/base.html @ 70:90a303a14112

base: use <main> for main area, for better semantic.
author Goffi <goffi@goffi.org>
date Mon, 04 Dec 2017 00:46:43 +0100
parents 9834106678da
children 9471c7309ecc
comparison
equal deleted inserted replaced
69:339f4011ed9b 70:90a303a14112
40 {% block main_menu %} 40 {% block main_menu %}
41 {{ component.menu(main_menu, class="main_menu") }} 41 {{ component.menu(main_menu, class="main_menu") }}
42 {% endblock main_menu %} 42 {% endblock main_menu %}
43 {% endif %} 43 {% endif %}
44 44
45 <div id='main_area'> 45 <main id='main_area'>
46 <header> 46 <header>
47 {% if confirm %} 47 {% if confirm %}
48 {# confirmation message used when post data has been handled correctly #} 48 {# confirmation message used when post data has been handled correctly #}
49 {% block confirm %} 49 {% block confirm %}
50 <div class="box post_confirm"> 50 <div class="box post_confirm">
65 {% endblock category_menu %} 65 {% endblock category_menu %}
66 {% block body %} 66 {% block body %}
67 {% endblock body %} 67 {% endblock body %}
68 </div> 68 </div>
69 <footer>{% block footer %}{% trans app_name=C.APP_NAME %}Powered by {{app_name}}{% endtrans %}{% endblock %}</footer> 69 <footer>{% block footer %}{% trans app_name=C.APP_NAME %}Powered by {{app_name}}{% endtrans %}{% endblock %}</footer>
70 </div> 70 </main>
71 </body> 71 </body>
72 </html> 72 </html>