Add configurable label to post-nav button.

This commit is contained in:
Cotes Chung 2020-02-22 02:52:27 +08:00
parent 021311974f
commit 6102d79e6e
2 changed files with 5 additions and 2 deletions

View file

@ -12,5 +12,8 @@ panel:
post:
relate_posts: "Further Reading"
button:
next: Newer
previous: Older
search_hint: "Search" # text show on search bar

View file

@ -27,8 +27,8 @@
font-size: 0.85rem;
}
$prompt-older: "Older";
$prompt-newer: "Newer";
$prompt-older: "{{ site.data.label.post.button.previous }}";
$prompt-newer: "{{ site.data.label.post.button.next }}";
.post-navigation {
padding-top: 3rem;