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

github.com/curttimson/hugo-theme-dopetrope.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCurtis Timson <curt@live.co.uk>2018-02-11 18:03:29 +0300
committerCurtis Timson <curt@live.co.uk>2018-02-11 18:03:29 +0300
commit9b5109d361b71a85e250e58d0adc33aa670e7a60 (patch)
tree9cd967e7c7496e6d6f41b45cdd0911e4d02e3b17 /layouts/partials
parent6d35eac3843949bbb5a0c685c490d093ae059636 (diff)
:sparkles: Add pagination to blog list
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/blog.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/blog.html b/layouts/partials/blog.html
index 1bc10d3..9ff5e2d 100644
--- a/layouts/partials/blog.html
+++ b/layouts/partials/blog.html
@@ -4,7 +4,7 @@
<h2>The Blog</h2>
</header>
<div class="row">
- {{ range where .Data.Pages "Type" "blog" }}
+ {{ range .paginator.Pages }}
<div class="6u 12u(mobile)">
<section class="box">
<a href="{{ .Permalink }}" class="image featured"><img src="{{ .Site.BaseURL }}{{ .Params.thumbnail }}" alt="" /></a>