From a57a8f991a2a5960fc886aa8bfcfca9719cecfda Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 19 Sep 2025 19:20:39 +0200 Subject: Flat i18n tables --- layouts/tags/list.html | 10 +++++----- layouts/tags/term.html | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'layouts/tags') diff --git a/layouts/tags/list.html b/layouts/tags/list.html index 651f427..87f74de 100644 --- a/layouts/tags/list.html +++ b/layouts/tags/list.html @@ -3,14 +3,14 @@

- {{ lang.Translate "tags.all_title" | default "All Tags" }} + {{ lang.Translate "tags_all" | default "All Tags" }}

- {{ lang.Translate "tags.all_description" | default "Overview of all topics covered on this site." }} + {{ lang.Translate "tags_all_description" | default "Overview of all topics covered on this site." }}

-
+
{{- with site.Taxonomies.tags }} {{- $tags := .Alphabetical }}
    @@ -20,7 +20,7 @@ {{ .Page.Title }} - + ({{ .Count }}) @@ -29,7 +29,7 @@
{{- else }}

- {{ lang.Translate "tags.empty" | default "No tags found." }} + {{ lang.Translate "tags_empty" | default "No tags found." }}

{{- end }}
diff --git a/layouts/tags/term.html b/layouts/tags/term.html index 11dffa2..cb7d1b0 100644 --- a/layouts/tags/term.html +++ b/layouts/tags/term.html @@ -4,18 +4,18 @@

- {{ lang.Translate "tags.tagged_with" | default "Tagged with:" }} + {{ lang.Translate "tags_with" | default "Tagged with:" }} #{{ .Title }}

- {{ lang.Translate "tags.postcount_number" .Pages.Len | default (printf "%d posts found" .Pages.Len) }} + {{ lang.Translate "tags_postcount_number" .Pages.Len | default (printf "%d posts found" .Pages.Len) }}

-
+
{{- with .Pages }}
    {{- range . }} @@ -26,15 +26,15 @@
{{- else }}

- {{ lang.Translate "tags.no_posts" | default "No posts found with this tag." }} + {{ lang.Translate "tags_no_posts" | default "No posts found with this tag." }}

{{- end }}
-- cgit v1.2.3