mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-03-25 09:05:47 +00:00
38 lines
837 B
HTML
38 lines
837 B
HTML
{% extends "samhuri.net.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<div class="container">
|
|
<h1>{{ title }}</h1>
|
|
</div>
|
|
|
|
{% for year in years %}
|
|
<div class="container">
|
|
<h2><a href="{{ year.path }}">{{ year.title }}</a></h2>
|
|
|
|
{% for month in year.months %}
|
|
<h3>
|
|
<a href="{{ month.path }}">{{ month.name }}</a>
|
|
</h3>
|
|
|
|
<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>
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|