aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/count.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-09-10 09:15:05 -0400
committertdro <tdro@noreply.example.com>2023-09-10 09:15:05 -0400
commit6b77bf7be196eb29f0e0f8739daaa9fdb94c1286 (patch)
tree9f32ad641e1fe367a12d1513e85dbe9b82caff8a /themes/default/layouts/partials/count.html
parent1a5ebb6311a058e45a849642118b7b1d6fc7eecb (diff)
downloadcanory-6b77bf7be196eb29f0e0f8739daaa9fdb94c1286.tar.gz
canory-6b77bf7be196eb29f0e0f8739daaa9fdb94c1286.tar.bz2
canory-6b77bf7be196eb29f0e0f8739daaa9fdb94c1286.zip
themes/default/layouts/partials/count: Use more generic decoupled terms
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) -}}