From a292f4116a7edea9f3a420fa790c3c6c2f85bf1f Mon Sep 17 00:00:00 2001 From: relikd Date: Fri, 3 Mar 2023 23:09:59 +0100 Subject: [PATCH] fix: sort order if same date --- src/templates/root.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/root.html b/src/templates/root.html index 60d88dc..b8eb57f 100644 --- a/src/templates/root.html +++ b/src/templates/root.html @@ -3,6 +3,6 @@ {% block body %}

{{ bag('i18n+' + this.alt, 'title.latest') }}

- {{ render_recipes(site.query('/recipes', this.alt).order_by('-date', 'name').limit(6)) }} + {{ render_recipes(site.query('/recipes', this.alt).order_by('-date', '_id').limit(6)) }}
{% endblock %}