diff options
author | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2019-10-25 14:51:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-25 14:51:42 +0300 |
commit | d6f8b59ecf8292432905ec171e578fe11f7c534e (patch) | |
tree | 70605c3f653b76b767879d110df2e1e1bcf6fe22 | |
parent | 0fc3492bb1fbd34f9e3ee4c92f134e31680be3b3 (diff) |
Show recent posts (hugo 0.59). (#233)1.0.1
-rw-r--r-- | layouts/partials/recent_posts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/recent_posts.html b/layouts/partials/recent_posts.html index 660d61f..1ea6cc6 100644 --- a/layouts/partials/recent_posts.html +++ b/layouts/partials/recent_posts.html @@ -16,7 +16,7 @@ <div class="row"> - {{ $posts := .Paginate (where .Data.Pages "Type" "blog") }} + {{ $posts := .Paginate (where .Site.RegularPages "Type" "blog") }} {{ range first 4 $posts.Pages }} <div class="col-md-3 col-sm-6"> <div class="box-image-text blog"> |