diff options
Diffstat (limited to 'layouts/tags')
| -rw-r--r-- | layouts/tags/list.html | 10 | ||||
| -rw-r--r-- | layouts/tags/term.html | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/layouts/tags/list.html b/layouts/tags/list.html index 651f427..87f74de 100644 --- a/layouts/tags/list.html +++ b/layouts/tags/list.html @@ -3,14 +3,14 @@ <article class="tags-index"> <header class="tags-index__header"> <h1 class="tags-index__headline"> - {{ lang.Translate "tags.all_title" | default "All Tags" }} + {{ lang.Translate "tags_all" | default "All Tags" }} </h1> <p class="tags-index__description"> - {{ lang.Translate "tags.all_description" | default "Overview of all topics covered on this site." }} + {{ lang.Translate "tags_all_description" | default "Overview of all topics covered on this site." }} </p> </header> - <section class="tags-index__content" aria-label="{{ lang.Translate "tags.all" | default "All Tags" }}"> + <section class="tags-index__content" aria-label="{{ lang.Translate "tags_all" | default "All Tags" }}"> {{- with site.Taxonomies.tags }} {{- $tags := .Alphabetical }} <ul class="tags-index__list"> @@ -20,7 +20,7 @@ <span class="tags-index__name"> {{ .Page.Title }} </span> - <span class="tags-index__count" aria-label="{{ lang.Translate "tags.postcount_title" | default "Number of posts" }}"> + <span class="tags-index__count" aria-label="{{ lang.Translate "tags_postcount_title" | default "Number of posts" }}"> ({{ .Count }}) </span> </a> @@ -29,7 +29,7 @@ </ul> {{- else }} <p class="tags-index__empty"> - {{ lang.Translate "tags.empty" | default "No tags found." }} + {{ lang.Translate "tags_empty" | default "No tags found." }} </p> {{- end }} </section> diff --git a/layouts/tags/term.html b/layouts/tags/term.html index 11dffa2..cb7d1b0 100644 --- a/layouts/tags/term.html +++ b/layouts/tags/term.html @@ -4,18 +4,18 @@ <header class="tag-page__header"> <h1 class="tag-page__headline"> <span class="tag-page__label"> - {{ lang.Translate "tags.tagged_with" | default "Tagged with:" }} + {{ lang.Translate "tags_with" | default "Tagged with:" }} </span> <span class="tag-page__name"> #{{ .Title }} </span> </h1> <p class="tag-page__count"> - {{ lang.Translate "tags.postcount_number" .Pages.Len | default (printf "%d posts found" .Pages.Len) }} + {{ lang.Translate "tags_postcount_number" .Pages.Len | default (printf "%d posts found" .Pages.Len) }} </p> </header> - <section class="tag-page__content" aria-label="{{ lang.Translate "tags.posts_list" | default "Posts with this tag:" }}"> + <section class="tag-page__content" aria-label="{{ lang.Translate "tags_posts_list" | default "Posts with this tag:" }}"> {{- with .Pages }} <ul class="tag-page__posts-list"> {{- range . }} @@ -26,15 +26,15 @@ </ul> {{- else }} <p class="tag-page__empty"> - {{ lang.Translate "tags.no_posts" | default "No posts found with this tag." }} + {{ lang.Translate "tags_no_posts" | default "No posts found with this tag." }} </p> {{- end }} </section> <footer class="tag-page__footer"> - <nav class="tag-page__navigation" aria-label="{{ lang.Translate "tags.navigation" | default "Tag navigation" }}"> + <nav class="tag-page__navigation" aria-label="{{ lang.Translate "tags_navigation" | default "Tag navigation" }}"> <a href="{{ .Parent.RelPermalink }}" class="tag-page__view-all-link"> - {{ lang.Translate "tags.all_title" | default "All tags" }} » + {{ lang.Translate "tags_all" | default "All tags" }} » </a> </nav> </footer> |
