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

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Zagarin <leshik@users.noreply.github.com>2019-04-25 20:16:22 +0300
committerGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2019-04-25 20:16:22 +0300
commit961b7d06fa63187fb8705e4df767421bd42217a4 (patch)
treed16771b51e948db79503b812d4e424386c8c182a
parent8715426ac786da6c2c47fcd7a234b533caefad91 (diff)
Use .Site.RegularPages instead of .Site.Pages for recent posts in footer. (#210)
-rw-r--r--layouts/partials/footer.html2
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 }}">