mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
31 lines
704 B
HTML
31 lines
704 B
HTML
{% extends "samhuri.net.html" %}
|
|
|
|
{% block body %}
|
|
|
|
{% for year in years %}
|
|
<div class="container">
|
|
<h1>{{ year.number }}</h1>
|
|
|
|
{% for month in year.months %}
|
|
<h2>
|
|
<a href="/{{ path }}/{{ year.number }}/{{ month.number }}">{{ monthNames[month.number] }}</a>
|
|
</h2>
|
|
|
|
<ul class="archive">
|
|
{% for post in month.posts %}
|
|
<li>
|
|
{% if post.isLink %}
|
|
<a href="{{ post.path }}">→ {{ post.title }}</a>
|
|
{% else %}
|
|
<a href="{{ post.path }}">{{ post.title }}</a>
|
|
{% endif %}
|
|
<time>{{ post.day }} {{ monthAbbreviations[month.number] }}</time>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
|
|
{% endfor %}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|