mirror of
https://git.librezo.fr/Librezo/website.git
synced 2025-09-05 20:32:54 +02:00
à la carte
This commit is contained in:
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 %}
|
Reference in New Issue
Block a user