diff options
Diffstat (limited to 'layouts/partials/list/recent-posts.html')
| -rw-r--r-- | layouts/partials/list/recent-posts.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 -}} <section class="recent-posts" aria-labelledby="recent-posts-heading"> <header class="recent-posts__header"> @@ -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"}} <a href="{{ .RelPermalink }}" class="recent-posts__view-all-link"> - {{ lang.Translate "posts.view_all" | default "View all posts" }} » + {{ lang.Translate "posts_all_view" | default "View all posts" }} » </a> {{- end }} {{- end }} </div> {{ else }} <p class="recent-posts__empty-message"> - {{ lang.Translate "list.empty" | default "No posts in this section." }} + {{ lang.Translate "list_empty" | default "No posts in this section." }} </p> {{- end }} </section> |
