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/partials/list/recent-posts.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/partials/list/recent-posts.html') diff --git a/layouts/partials/list/recent-posts.html b/layouts/partials/list/recent-posts.html index 2404910..5426f70 100644 --- a/layouts/partials/list/recent-posts.html +++ b/layouts/partials/list/recent-posts.html @@ -9,7 +9,7 @@ List of specified number of the most recent and published posts. Accepts a dict */ -}} {{- $count := .count | default 10 -}} -{{- $title := .title | default (lang.Translate "posts.recent" | default "Recent Articles") -}} +{{- $title := .title | default (lang.Translate "posts_recent" | default "Recent Articles") -}} {{- $showViewAll := .show_view_all | default true -}}
@@ -32,14 +32,14 @@ List of specified number of the most recent and published posts. Accepts a dict {{- if $showViewAll }} {{- with site.GetPage "/all-posts"}} - {{ lang.Translate "posts.view_all" | default "View all posts" }} » + {{ lang.Translate "posts_all_view" | default "View all posts" }} » {{- end }} {{- end }} {{ else }}

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

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