diff options
author | Alexey Zagarin <leshik@users.noreply.github.com> | 2019-04-25 20:16:22 +0300 |
---|---|---|
committer | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2019-04-25 20:16:22 +0300 |
commit | 961b7d06fa63187fb8705e4df767421bd42217a4 (patch) | |
tree | d16771b51e948db79503b812d4e424386c8c182a | |
parent | 8715426ac786da6c2c47fcd7a234b533caefad91 (diff) |
Use .Site.RegularPages instead of .Site.Pages for recent posts in footer. (#210)
-rw-r--r-- | layouts/partials/footer.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index bfd502e..bdb3a03 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -19,7 +19,7 @@ <h4>{{ i18n "recentPosts" }}</h4> <div class="blog-entries"> - {{ range first 3 (where .Site.Pages "Type" "blog") }} + {{ range first 3 (where .Site.RegularPages "Type" "blog") }} <div class="item same-height-row clearfix"> <div class="image same-height-always"> <a href="{{ .Permalink }}"> |