1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Restore the prompt in the page nav button in the latest/oldest articles

This commit is contained in:
Cotes Chung
2021-02-02 17:37:50 +08:00
parent 6dc9cdfa25
commit 94b99350fc
2 changed files with 11 additions and 8 deletions

View File

@@ -9,7 +9,8 @@
<p>{{ page.previous.title }}</p>
</a>
{% else %}
<span class="btn btn-outline-primary disabled">
<span class="btn btn-outline-primary disabled"
prompt="{{ site.data.label.post.button.previous | default: 'previous' }}">
<p>-</p>
</span>
{% endif %}
@@ -20,7 +21,8 @@
<p>{{ page.next.title }}</p>
</a>
{% else %}
<span class="btn btn-outline-primary disabled">
<span class="btn btn-outline-primary disabled"
prompt="{{ site.data.label.post.button.next | default: 'next' }}">
<p>-</p>
</span>
{% endif %}