some fixes

This commit is contained in:
bkfox
2016-11-15 21:58:55 +01:00
parent f183669c04
commit fc8b15eb03
4 changed files with 75 additions and 22 deletions

View File

@ -1,8 +1,10 @@
<section class="section_item {{ self.css_class }} {{ self.snake_name }}">
{% block section_content %}
{% block title %}
{% if self.show_title %}<h2>{{ self.title }}</h2>{% endif %}
{% endblock %}
{% block content %}{{ content|safe }}{% endblock %}
{% endblock %}
</section>