Automatically add body class when using the main page template

This commit is contained in:
Felipe M 2018-03-25 13:07:47 +02:00
parent f45e8bd0c4
commit 915b499b00
Signed by: fmartingr
GPG key ID: 716BC147715E716F

View file

@ -2,6 +2,8 @@
{% block page_title %}{{ super() }} | {{ this.title }}{% endblock %} {% block page_title %}{{ super() }} | {{ this.title }}{% endblock %}
{% block body_class %}{{ this.title|lower }}{% endblock %}
{% block main_content %} {% block main_content %}
<div class="center"> <div class="center">
{{ this.body }} {{ this.body }}