'Newer/Older posts' label is now editable

This commit is contained in:
Guillaume REICHENBACH 2020-06-16 16:04:45 +02:00
parent ebbeedc014
commit b95bb4ac1d
2 changed files with 4 additions and 2 deletions

View File

@ -149,6 +149,8 @@ paginate = 5
menuMore = "Show more"
readMore = "Read more"
readOtherPosts = "Read other posts"
newerPosts = "Newer posts"
olderPosts = "Older posts"
missingContentMessage = "Page not found..."
missingBackButtonLabel = "Back to home page"

View File

@ -4,14 +4,14 @@
<span class="button previous">
<a href="{{ .Paginator.Prev.URL }}">
<span class="button__icon"></span>
<span class="button__text">Newer posts</span>
<span class="button__text">{{ $.Site.Params.newerPosts }}</span>
</a>
</span>
{{ end }}
{{ if .Paginator.HasNext }}
<span class="button next">
<a href="{{ .Paginator.Next.URL }}">
<span class="button__text">Older posts</span>
<span class="button__text">{{ $.Site.Params.olderPosts }}</span>
<span class="button__icon"></span>
</a>
</span>