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/_default/list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/_default/list.html') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a8cb92a..fb53b40 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -9,14 +9,14 @@ {{ . }} {{- else }} - {{- $description := or .Description .Summary (lang.Translate "list.default_description" .Title | default (printf "All posts in %s" .Title)) }} + {{- $description := or .Description .Summary (lang.Translate "list_description" .Title | default (printf "All posts in %s" .Title)) }}

{{ $description }}

{{- end }} -
+
{{- /* 15 posts per site */ -}} {{- $paginator := .Paginate .Pages 15 }} {{- with $paginator.Pages }} @@ -29,7 +29,7 @@ {{ else }}

- {{ lang.Translate "list.empty" | default "No posts found in this section." }} + {{ lang.Translate "list_empty" | default "No posts found in this section." }}

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