diff options
| author | Arne Rief <riearn@proton.me> | 2025-09-19 19:20:39 +0200 |
|---|---|---|
| committer | Arne Rief <riearn@proton.me> | 2025-09-19 19:20:39 +0200 |
| commit | a57a8f991a2a5960fc886aa8bfcfca9719cecfda (patch) | |
| tree | c3bcdf0ff5138c539fdbcf5d28b52951da6c2eca /layouts/_default/list.html | |
| parent | e754bed52740760c91be6b651887980a51cd59cf (diff) | |
Flat i18n tables
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ {{ . }} </div> {{- 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)) }} <p class="list-page__description"> {{ $description }} </p> {{- end }} </header> - <section class="list-page__content" aria-label="{{ lang.Translate "posts.name" | default "Posts" }}"> + <section class="list-page__content" aria-label="{{ lang.Translate "posts" | default "Posts" }}"> {{- /* 15 posts per site */ -}} {{- $paginator := .Paginate .Pages 15 }} {{- with $paginator.Pages }} @@ -29,7 +29,7 @@ </ul> {{ else }} <p class="list-page__empty-message"> - {{ lang.Translate "list.empty" | default "No posts found in this section." }} + {{ lang.Translate "list_empty" | default "No posts found in this section." }} </p> {{- end }} </section> |
