aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/taxonomy.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/_default/taxonomy.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/_default/taxonomy.html')
-rw-r--r--themes/default/layouts/_default/taxonomy.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/_default/taxonomy.html b/themes/default/layouts/_default/taxonomy.html
index 849e2b1..9ec1cb7 100644
--- a/themes/default/layouts/_default/taxonomy.html
+++ b/themes/default/layouts/_default/taxonomy.html
@@ -12,7 +12,7 @@
"Id" "back"
"Title" "Tags"
"Icon" "arrow-left"
- "Subtitle" (partial "count-tags.html" .)
+ "Subtitle" (print (partial "count-tags.html" .) " " "Total")
"Href" (or (and (gt .Paginator.PageNumber 1) (.Paginator.Prev.URL | absURL)) "/")
)
-}}
@@ -21,7 +21,7 @@
{{- define "middle" -}}
<tag-deck>
{{- range .Paginator.Pages -}}
- {{- $count := len .Data.Pages -}}
+ {{- $count := lang.FormatNumberCustom 0 (len .Data.Pages) -}}
{{- $title := lower .Title -}}
{{- range first 1 .Pages -}}