summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/stories.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/stories.html b/templates/stories.html
index 9097ba0..11a2fa2 100644
--- a/templates/stories.html
+++ b/templates/stories.html
@@ -13,7 +13,7 @@
</form>
</div>
<div class="works">
- {% for work in works %}
+ {% for work in works | sort(attribute="last_update") | reverse %}
<a href="{{work.path_to_document}}" class="work-card" download>
<div class="title-and-description">
<h3>{{work.title}}</h3>
@@ -22,6 +22,7 @@
<div class="info">
<span>{{work.number_of_pages}} Pages</span>
<span class="story-language">{{work.language}}</span>
+ <span>Last Update: {{work.last_update}}</span>
</div>
</a>
{% endfor %}