Some stuff, idk
This commit is contained in:
parent
79100d3f86
commit
2e08cdb595
7 changed files with 69 additions and 22 deletions
|
|
@ -3,18 +3,23 @@
|
|||
{% block title %}{{ section.title }} - Hazelnut{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
{{ section.content | safe }}
|
||||
<hr>
|
||||
<h1> {{ section.title }} </h1>
|
||||
<ul class="post-list">
|
||||
{% for page in section.pages %}
|
||||
{% for page in section.pages | sort(attribute="date") | reverse %}
|
||||
<li>
|
||||
<a class="internal" href="{{ page.permalink }}">
|
||||
{{ page.title }}
|
||||
|
||||
{% 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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue