diff options
Diffstat (limited to 'layouts/partials/single/next-prev.html')
| -rw-r--r-- | layouts/partials/single/next-prev.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/single/next-prev.html b/layouts/partials/single/next-prev.html index 452ce7e..55a3fff 100644 --- a/layouts/partials/single/next-prev.html +++ b/layouts/partials/single/next-prev.html @@ -1,13 +1,13 @@ {{- /* Navigation for next & previous post and back to top */ -}} {{- if ne .Params.excludeFromLists true }} -<nav class="post__navigation" aria-label="{{ lang.Translate "post.navigation" | default "Post navigation" }}"> +<nav class="post__navigation" aria-label="{{ lang.Translate "posts_navigation" | default "Post navigation" }}"> <hr /> <ul class="post__navigation-list"> {{- with .PrevInSection }} <li class="post__navigation-prev"> <a href="{{ .RelPermalink }}" class="post__navigation-link" rel="prev"> <span class="post__navigation-label"> - ← {{ lang.Translate "post.previous" | default "Previous post:" }} + ← {{ lang.Translate "posts_previous" | default "Previous post:" }} </span> <span class="post__navigation-title"> {{ .Title }} @@ -20,7 +20,7 @@ <li class="post__navigation-next"> <a href="{{ .RelPermalink }}" class="post__navigation-link" rel="next"> <span class="post__navigation-label"> - {{ lang.Translate "post.next" | default "Next post:" }} + {{ lang.Translate "posts_next" | default "Next post:" }} </span> <span class="post__navigation-title"> {{ .Title }} → @@ -34,8 +34,8 @@ <a href="#" class="post__scroll-top" - aria-label="{{ lang.Translate "posts.top" | default "Back to top" }}" - title="{{ lang.Translate "posts.top" | default "Back to top" }}" + aria-label="{{ lang.Translate "back_top" | default "Back to top" }}" + title="{{ lang.Translate "back_top" | default "Back to top" }}" > <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"> <path d="M17 15L12 10L7 15" stroke="#000000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/> |
