lost-train/theme/templates/category.html

31 lines
654 B
HTML

{% extends "base.html" %}
{% block content_title %}
<div class="fr o-10" style="font-size:0.8em;">{{ SITENAME }}</div>
<div style="font-size:0.6em;" class="w-100 pa4 ml3">
- {{ category }}
</div>
{% endblock %}
{% block content %}
{% for article in articles %}
<article class="title">
<a href="{{ SITEURL }}/{{ article.url }}" class="db b pb2 o-50">
{{ article.title }}
</a>
</article>
<div>
{{ article.content }}
</div>
{% if not HIDE_DATE %}
<time class="db w-100 tr pb4 o-30" datetime="{{ article.date.isoformat() }}">
{{ article.date.isoformat() }}
</time>
{% endif %}
{% endfor %}
{% endblock %}