aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/count.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/count.html')
-rw-r--r--themes/default/layouts/partials/count.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/count.html b/themes/default/layouts/partials/count.html
new file mode 100644
index 0000000..b561439
--- /dev/null
+++ b/themes/default/layouts/partials/count.html
@@ -0,0 +1,2 @@
+{{- $count := len .Site.RegularPages -}}
+{{- print (lang.FormatNumberCustom 0 $count) -}}