Implement new sort_by filters
This commit is contained in:
parent
c4f9eb8d4e
commit
99283e90a4
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
{% for page in pages %}
|
||||
{% for page in pages|sort_by("time")|reverse %}
|
||||
{% if page.id starts with "blog/" %}
|
||||
<div class="blog-post">
|
||||
<h2 class="blog-post-title"><a href="{{ page.url }}">{{ page.title }}</a></h2>
|
||||
|
|
Loading…
Reference in a new issue