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

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/profile.html2
-rw-r--r--layouts/partials/widgets/recent_articles.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/profile.html b/layouts/partials/profile.html
index 24272e7..8b4089c 100644
--- a/layouts/partials/profile.html
+++ b/layouts/partials/profile.html
@@ -13,7 +13,7 @@
</div>
<div class="article-info profile-block">
<div class="article-info-block">
- {{ len (where .Site.Pages "Type" "post") }}
+ {{ len (where .Site.RegularPages "Type" "post") }}
<span>{{with .Site.Data.l10n.profile.posts}}{{.}}{{end}}</span>
</div>
<div class="article-info-block">
diff --git a/layouts/partials/widgets/recent_articles.html b/layouts/partials/widgets/recent_articles.html
index 5ea84d8..80f0a41 100644
--- a/layouts/partials/widgets/recent_articles.html
+++ b/layouts/partials/widgets/recent_articles.html
@@ -5,7 +5,7 @@
</h3>
<div class="widget">
<ul id="recent-post">
- {{ range first 5 (where .Site.Pages "Type" "post") }}
+ {{ range first 5 (where .Site.RegularPages "Type" "post") }}
<li>
<div class="item-thumbnail">
<a href="{{ .Permalink }}" class="thumbnail">