29 lines
761 B
HTML
29 lines
761 B
HTML
|
{% set pageTitle = 'Tildes Issue Log' %}
|
||
|
{% set toRoot = '.' %}
|
||
|
|
||
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block body %}
|
||
|
<main id="main">
|
||
|
<div id="posts">
|
||
|
<h2>All Posts</h2>
|
||
|
{% for list in posts %}
|
||
|
{% set parent_first_loop = loop.first %}
|
||
|
<div class="year">
|
||
|
<h3>{{ list.year }}</h3>
|
||
|
<ul class="posts">
|
||
|
{% for post in list.posts %}
|
||
|
{% set is_newest = parent_first_loop and loop.last %}
|
||
|
<li class="post {{ 'newest' if is_newest }}">
|
||
|
<a href="{{toRoot }}/{{ post.url }}">
|
||
|
{{ months[post.month]|capitalize }}
|
||
|
</a>
|
||
|
</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
</main>
|
||
|
{% endblock %}
|