lost-train/theme/templates/category.html
Dooho Yi 3c6104b382 / ‘theme/templates/category.html’
/ ‘theme/templates/index.html’
2020-05-05 06:51:12 +09:00

30 lines
740 B
HTML

{% extends "base.html" %}
{% block content_title %}
<div class="fl o-50" style="font-size:0.4em;">/ <br/>{{ category }}</div>
<a class="fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/categories.html">*</a>
<div class="fr o-10 pr1" style="font-size:0.8em;">{{ SITENAME }}</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 %}