diff options
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index e33de31..220ad94 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -36,8 +36,12 @@ </header> <main id="content" class="content" role="main"> - - {{ $paginator := .Paginate (where .Data.Pages "Section" "post") }} + {{ $pages := .Pages }} + {{ if .IsHome }} + {{ $pages = .Site.RegularPages }} + {{ end }} + {{ $paginator := .Paginate $pages }} + <!--{{ $paginator := .Paginate (where .Data.Pages "Section" "post") }}--> <div class="extra-pagination inner"> {{ partial "pagination.html" $paginator }} |