diff options
Diffstat (limited to 'layouts/partials/footer/recentposts.html')
-rw-r--r-- | layouts/partials/footer/recentposts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer/recentposts.html b/layouts/partials/footer/recentposts.html index 1842b3b..2737cd3 100644 --- a/layouts/partials/footer/recentposts.html +++ b/layouts/partials/footer/recentposts.html @@ -6,7 +6,7 @@ </header> {{ end }} <ul class="dates"> - {{ range first 5 (where .Site.Pages "Type" .Site.Params.Blog.foldername) }} + {{ range first 5 (where .Site.RegularPages "Type" .Site.Params.Blog.foldername) }} <li> <span class="date">{{ .Date.Format "Jan" }} <strong>{{ .Date.Format "_2" }}</strong></span> <h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3> |