summaryrefslogtreecommitdiff
path: root/layouts/_shortcodes/postcount.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_shortcodes/postcount.html')
-rw-r--r--layouts/_shortcodes/postcount.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_shortcodes/postcount.html b/layouts/_shortcodes/postcount.html
index 68da6893..84c6378f 100644
--- a/layouts/_shortcodes/postcount.html
+++ b/layouts/_shortcodes/postcount.html
@@ -1 +1 @@
-{{ len (where .Site.RegularPages "Section" "posts") }}
+{{ len (where .Site.RegularPages "Section" "!=" "") }}