lost-train/theme/templates/category.html
Dooho Yi 08562fc6d5 / ‘theme/templates/categories.html’
/ ‘theme/templates/category.html’
2020-05-07 02:16:31 +09:00

32 lines
777 B
HTML

{% extends "base.html" %}
{% block content_header %}
<div class="fl o-50" style="font-size:0.4em;">/ <br/>{{ category }}</div>
<a class="b fr o-50" style="font-size: 0.5em;" href="{{ SITEURL }}/categories.html">*</a>
<a class="b fr o-10 pr1" style="font-size:0.8em;" href="{{ SITEURL }}">{{ SITENAME }}</a>
{% endblock %}
{% block content %}
{% for article in articles_page.object_list %}
<article class="title pb2">
<a href="{{ SITEURL }}/{{ article.url }}" class="b 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 %}
{% include 'pagination.html' %}
{% endblock %}