posts should be ordere from newest to oldest
This commit is contained in:
parent
81f5321656
commit
3061c4f491
1 changed files with 2 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
||||||
<ul>
|
<ul>
|
||||||
{% for post in listposts %}
|
{% for post in listposts | reverse %}
|
||||||
<li>
|
<li>
|
||||||
<strong><a href="{{ post.url | url }}"> {{ post.data.title }}</a></strong>
|
<strong><a href="{{ post.url | url }}"> {{ post.data.title }}</a></strong>
|
||||||
-
|
-
|
||||||
<time datetime="{{ post.date | htmlDateString}}">{{ post.date | readableDate}}</time>
|
<time datetime="{{ post.date | htmlDateString}}">{{ post.date | readableDate}}</time>
|
||||||
|
<br><small>{{ post.data.description }}</small>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue