/ ‘theme/templates/index.html’
This commit is contained in:
parent
a857d24a8a
commit
df94dfbb41
1 changed files with 23 additions and 14 deletions
|
|
@ -41,25 +41,34 @@
|
|||
</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 is '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 %}
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
|||
Loading…
Reference in a new issue