add ability to sort repo list by date

This commit is contained in:
Trevor Bentley
2023-01-15 01:17:26 +01:00
parent 276b8a01e7
commit d4100e85ae
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
<th>Website</th>
<th>Last Updated</th>
</tr>
{% for repo in repos | sort(attribute="name") -%}
{% for repo in repos | sort(attribute="last_ts_utc") | reverse -%}
<tr>
<td class="repo"><a href="{{repo.name}}/summary.html">{{ repo.name }}</a></td>
<td class="description nosmall">{{repo.metadata.description}}</td>