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

github.com/shaform/hugo-theme-den.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 28c58ef..1aeeda7 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -20,7 +20,7 @@
</div>
{{ end }}
{{ define "main" }}
-{{- $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "posts") }}
+{{- $paginator := .Paginate (where .Data.Pages "Type" "posts") }}
<div class="archive-container">
<div class="container content archive">
<h2>{{ i18n "latest_posts" }}{{ if $paginator.HasPrev }} <small>- {{ i18n "page" }} {{ $paginator.PageNumber }}</small>{{ end }}</h2>