/ ‘theme/templates/index.html’

This commit is contained in:
Dooho Yi 2020-05-02 18:32:47 +09:00
parent a857d24a8a
commit df94dfbb41

View file

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