From 43addda0034746de8dc03756aff0e4fb976012c0 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Wed, 29 Nov 2023 23:58:32 +0300 Subject: [PATCH] Add page sorting --- layouts/partials/body/projects.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/body/projects.html b/layouts/partials/body/projects.html index 39c5986..ab4b497 100644 --- a/layouts/partials/body/projects.html +++ b/layouts/partials/body/projects.html @@ -1,6 +1,6 @@ {{ with .Site.GetPage "/projects" }}

Projects

-{{ range .Pages }} +{{ range sort (.Pages) "Params.start_date" "desc" }}