summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html6
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>