fix: deprecation error on blog page
This commit is contained in:
parent
07e7871c1e
commit
5e105d4bab
|
@ -9,7 +9,7 @@ intro_text: |
|
|||
|
||||
<div class="mt-10">
|
||||
<div class="space-y-8">
|
||||
{% for post in data.posts|sort((a, b) => a.date < b.date) %}
|
||||
{% for post in data.posts|sort((a, b) => b.date <=> a.date) %}
|
||||
{% include 'post/post-teaser' with { post } only %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue