/ ‘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>
|
</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">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue