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: post:
relate_posts: "Further Reading" relate_posts: "Further Reading"
button:
next: Newer
previous: Older
search_hint: "Search" # text show on search bar search_hint: "Search" # text show on search bar

View File

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