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

github.com/jeremybise/twentynineteen-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/footer/footer-widgets.html')
-rw-r--r--layouts/partials/footer/footer-widgets.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer/footer-widgets.html b/layouts/partials/footer/footer-widgets.html
index c573216..167f776 100644
--- a/layouts/partials/footer/footer-widgets.html
+++ b/layouts/partials/footer/footer-widgets.html
@@ -7,7 +7,7 @@
<section id="recent-posts" class="widget widget_recent_entries">
<h2 class="widget-title">Recent Posts</h2>
<ul>
- {{ range first 5 (where .Pages.ByPublishDate.Reverse "Section" "posts") }}
+ {{ range first 5 (where .Site.Pages.ByPublishDate.Reverse "Section" "posts") }}
<li>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</li>