elf-notes/templates/section.html

29 lines
670 B
HTML

{# Default section.html template #}
{% extends "base.html" %}
{% block body %}
{% if section.extra.class %}
{% set page_class = section.extra.class %}
{% else %}
{% set page_class = "page list" %}
{% endif %}
{% endblock body %}
{% block content %}
<div class="wrap container" role="document">
<div class="content">
<div class="row justify-content-center">
<div class="col-md-12 col-lg-10 col-xxl-8">
<article class="text-article">
<div class="page-header">
<h1>{{ section.title }}</h1>
</div>
{{ section.content | safe }}
</article>
</div>
</div>
</div>
</div>
{% endblock content %}