diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-11-29 23:58:32 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-11-29 23:58:32 +0300 |
commit | 43addda0034746de8dc03756aff0e4fb976012c0 (patch) | |
tree | b63304b8b3aff9e9e889e296495d0a3513a6505f | |
parent | 3cd358452c1f9bec96b506f3a6a381df44af7206 (diff) |
Add page sorting
-rw-r--r-- | layouts/partials/body/projects.html | 2 |
1 files changed, 1 insertions, 1 deletions
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" }} <h3>Projects</h3> -{{ range .Pages }} +{{ range sort (.Pages) "Params.start_date" "desc" }} <table> <tbody> <tr> |