Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rhnvrm/bodhi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Verma <hello@rohanverma.net>2020-05-19 22:00:35 +0300
committerRohan Verma <hello@rohanverma.net>2020-05-19 22:00:35 +0300
commitd9050bbaad56bde1108bdfcbd7a914b4c509c642 (patch)
treee592023ccd1528e0d43623520f5b8314e8d36b97
parent609b542a5360032818370526e2839c04ebaaed0f (diff)
fix: pagination sort order
-rw-r--r--layouts/_default/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index efbc993..ac2b212 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -14,7 +14,7 @@
{{ end }}
{{ end }}
- {{ range (.Paginate $pages).Pages }}
+ {{ range (.Paginate $pages).Pages.ByDate.Reverse }}
{{ partial "list_preview" . }}
{{ end }}