à la carte
This commit is contained in:
parent
a2c3c3eab0
commit
10b6804d72
8 changed files with 120 additions and 15 deletions
13
templates/section.html
Normal file
13
templates/section.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{% if section.title %}{{ section.title }} | {% endif %}{{ config.extra.sitename|safe }}{% endblock title %}
|
||||
|
||||
{% block head %}
|
||||
{% endblock head %}
|
||||
|
||||
{% block body %}
|
||||
<main class="narrower">
|
||||
{% if section.title %}<h1>{{ section.title }}</h1>{% endif %}
|
||||
{{ section.content | safe }}
|
||||
</main>
|
||||
{% endblock body %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue