/ ‘theme/templates/index.html’

This commit is contained in:
Dooho Yi 2020-05-02 20:00:33 +09:00
parent 07b11cee0a
commit e8e85e9a0a

View file

@ -41,23 +41,31 @@
</div>
</a>
{% for article in articles %}
{% for category, articles in categories %}
<article class="title">
<a href="{{ SITEURL }}/{{ article.url }}" class="db b pb2 o-50">
{{ article.title }}
</a>
</article>
{% if category.name == 'notes' %}
<div>
{{ article.content }}
</div>
{% for article in articles %}
{% if not HIDE_DATE %}
<time class="db w-100 tr pb4 o-30" datetime="{{ article.date.isoformat() }}">
{{ article.date.isoformat() }}
</time>
{% endif %}
<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 %}
{% endif %}
{% endfor %}