Automatically add body class when using the main page template
This commit is contained in:
parent
f45e8bd0c4
commit
915b499b00
1 changed files with 2 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue