From aa4fabfafefd93f5a705e1789e770f6e6c0cc96c Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 28 Mar 2022 12:08:00 +0200 Subject: [PATCH] small fixes --- themes/buha/layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 39967d78..a6137231 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -10,7 +10,7 @@ {{ $meta := false }} {{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.mainSections }} {{- $paginator := slice -}} - {{- $paginator = .Paginate $posts.ByLastmod.Reverse -}} + {{- $paginator = .Paginate $posts.ByDate.Reverse -}} {{ if eq $paginator.PageNumber 1 }} {{ if ne .Content "" }}