summaryrefslogtreecommitdiff
path: root/themes/beautifulhugo
diff options
context:
space:
mode:
Diffstat (limited to 'themes/beautifulhugo')
-rw-r--r--themes/beautifulhugo/layouts/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/beautifulhugo/layouts/index.html b/themes/beautifulhugo/layouts/index.html
index f3de0fa..eab1ad2 100644
--- a/themes/beautifulhugo/layouts/index.html
+++ b/themes/beautifulhugo/layouts/index.html
@@ -9,7 +9,8 @@
{{ end }}
<div class="posts-list">
- {{ range .Paginator.Pages }}
+ {{ $pag := .Paginate (where .Site.RegularPages "Type" "post") }}
+ {{ range $pag.Pages }}
<article class="post-preview">
<a href="{{ .Permalink }}">
<h2 class="post-title">{{ .Title }}</h2>