onders.org_zola_theme/templates/section.html

33 lines
797 B
HTML
Raw Permalink Normal View History

2023-02-06 12:20:18 +01:00
{% extends "base.html" %}
{% block title %}
{{ config.title }} - {{ section.title }}
{% endblock title %}
2023-02-06 12:20:18 +01:00
{% block content %}
<h1 class="title">{{ config.title }}</h1>
<h2 class="subtitle">{{ section.title }}</h2>
<navbar class="navbar level">
<div class="level-left">
<a href="{{ config.base_url }}">home</a>
</div>
</navbar>
<div class="content">
<div class="block">
{{ section.content | safe }}
</div>
<div class="block">
<ul>
{% for page in section.pages | reverse %}
<li><a href="{{ page.permalink | safe }}">{{ page.date | safe }} - {{ page.title | safe }}</a></li>
{% endfor %}
</ul>
</div>
</div>
<navbar class="navbar level">
<div class="level-left">
<a href="{{ config.base_url }}">home</a>
</div>
</navbar>
{% endblock content %}