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

github.com/balaramadurai/hugo-travelify-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/widgets/recent_articles.html')
-rw-r--r--layouts/partials/widgets/recent_articles.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/widgets/recent_articles.html b/layouts/partials/widgets/recent_articles.html
index e0bd002..ee28bb3 100644
--- a/layouts/partials/widgets/recent_articles.html
+++ b/layouts/partials/widgets/recent_articles.html
@@ -5,7 +5,7 @@
</h3>
<div class="rpwe-block">
<ul class=" rpwe-ul">
- {{ range first 5 (where .Site.Pages "Type" "post") }}
+ {{ range first 5 (where .Site.RegularPages "Type" "post") }}
<li class="rpwe-il rpwe-classfix">
<a class="rpwe-img" href="{{ .Permalink }}" class="thumbnail">
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}