Specify sort order of projects

This commit is contained in:
2023-05-01 15:13:56 -06:00
parent fc5c89f305
commit 6bd413c951
7 changed files with 11 additions and 6 deletions

View File

@@ -24,7 +24,7 @@
build tools that make my life easier.
</p>
{% for article in articles_page.object_list if article.category.name == 'Projects' %}
{% for article in articles_page.object_list|selectattr('category.name', '==', 'Projects')|sort(attribute='order') %}
<h3><a href="{{ article.url }}">{{ article.title }}</a></h3>
<div class="summary">
{{ article.summary }}