28 lines
804 B
HTML
28 lines
804 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ section.title }} - Hazelnut{% endblock title %}
|
|
|
|
{% block content %}
|
|
<h1> {{ section.title }} </h1>
|
|
<ul class="post-list">
|
|
{% for page in section.pages | sort(attribute="date") | reverse %}
|
|
<li>
|
|
<a class="internal" href="{{ page.permalink }}">
|
|
{{ page.title }}{% if page.draft %} [DRAFT]{% endif %}
|
|
|
|
{% if page.date %}
|
|
<p class="post-date">
|
|
{{ page.date | date(format="%Y-%m-%d") }}
|
|
</p>
|
|
{% endif %}
|
|
{% if page.description %}
|
|
<p class="post-desc">
|
|
{{ page.description }}
|
|
</p>
|
|
{% endif %}
|
|
</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock content %}
|