diff options
author | Jeremy Bise <jeremy.bise@thosegeeks.com> | 2019-04-16 18:59:34 +0300 |
---|---|---|
committer | Jeremy Bise <jeremy.bise@thosegeeks.com> | 2019-04-16 18:59:34 +0300 |
commit | 17f68aaeedcb48b7f7e741044928860e65cec6bd (patch) | |
tree | d2eb05c2300cf6dc518f0269e339a16f0dca4d2f | |
parent | 01e08c2692bd36bb87e2f746f357ae6c77223f1b (diff) |
fix recent posts footer widget
-rw-r--r-- | layouts/partials/footer/footer-widgets.html | 2 |
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> |