36 lines
948 B
HTML
36 lines
948 B
HTML
{% import "_macros.html" as macros %}
|
||
{% extends "index.html" %}
|
||
|
||
{% block title %}{{ section.title }} - {{ config.title }} {% endblock title %}
|
||
|
||
{% block header %}
|
||
<header class="box-shadow">
|
||
{{ macros::render_header() }}
|
||
</header>
|
||
{% endblock header %}
|
||
|
||
{% block content %}
|
||
<h1 class="heading-text">{{ section.description }}</h1>
|
||
{{ section.content | safe }}
|
||
|
||
{% for page in paginator.pages %}
|
||
<article>
|
||
<h2><a href="{{ page.permalink }}">{{ page.title }}</a></h2>
|
||
<time datetime="{{ page.date }}">{{ page.date | date(format="%d %B %Y") }}</time>
|
||
|
||
<div>
|
||
{{ page.summary | safe }}
|
||
</div>
|
||
</article>
|
||
{% endfor %}
|
||
|
||
<nav class="pagination">
|
||
{% if paginator.previous %}
|
||
<a class="previous" href="{{ paginator.previous }}">‹ Previous</a>
|
||
{% endif %}
|
||
{% if paginator.next %}
|
||
<a class="next" href="{{ paginator.next }}">Next ›</a>
|
||
{% endif %}
|
||
</nav>
|
||
{% endblock content %}
|
||
|