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:
authorJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-16 18:59:34 +0300
committerJeremy Bise <jeremy.bise@thosegeeks.com>2019-04-16 18:59:34 +0300
commit17f68aaeedcb48b7f7e741044928860e65cec6bd (patch)
treed2eb05c2300cf6dc518f0269e339a16f0dca4d2f
parent01e08c2692bd36bb87e2f746f357ae6c77223f1b (diff)
fix recent posts footer widget
-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>