42 lines
1.1 KiB
HTML
42 lines
1.1 KiB
HTML
|
{% import "_macros.html" as macros %}
|
||
|
{% extends "index.html" %}
|
||
|
|
||
|
{% block title %}{{ section.title }} | {{ super() }} {% endblock title %}
|
||
|
|
||
|
{% block header %}
|
||
|
<header class="box-shadow">
|
||
|
{{ macros::render_header() }}
|
||
|
</header>
|
||
|
{% endblock header %}
|
||
|
|
||
|
{% block content %}
|
||
|
<div class="margin-left:20vw; margin-right: 20vw;">
|
||
|
<div class="heading-text">{{ section.title }}</div>
|
||
|
<ul>
|
||
|
{% for page in section.pages %}
|
||
|
<li>
|
||
|
<div>
|
||
|
<a href="{{ page.permalink | safe }}">
|
||
|
<strong class="title article-title">{{ page.title }}</strong>
|
||
|
</a>
|
||
|
{% if page.date %}
|
||
|
<div>
|
||
|
<span>{{ page.date | date(format="%F") }}</span>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% if page.summary %}
|
||
|
<div itemprop="summary" class="content article-body">
|
||
|
{{ page.summary | safe }}
|
||
|
<nav class="readmore">
|
||
|
<a itemprop="url" href="{{ page.permalink | safe }}">Read
|
||
|
More »
|
||
|
</a>
|
||
|
</nav>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{% endblock content %}
|