mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
32 lines
647 B
HTML
32 lines
647 B
HTML
{% extends "site.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<div class="year">
|
|
<h1>{{ title }}</h1>
|
|
|
|
{% for month in months %}
|
|
<h2>
|
|
<a href="{{ month.path }}">{{ month.name }}</a>
|
|
</h2>
|
|
|
|
<ul class="archive">
|
|
{% for post in month.posts %}
|
|
<li>
|
|
{% if post.isLink %}
|
|
<a href="{{ post.link }}">→ {{ post.title }}</a>
|
|
{% else %}
|
|
<a href="{{ post.path }}">{{ post.title }}</a>
|
|
{% endif %}
|
|
<time>{{ post.day }} {{ month.abbreviation }}</time>
|
|
{% if post.isLink %}
|
|
<a class="permalink" href="{{ post.path }}">∞</a>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% endblock %}
|