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

Beautified the navigation button in post.

This commit is contained in:
Cotes Chung
2020-01-03 19:33:49 +08:00
parent 2ad4dc1b4e
commit a42a5bfab4
2 changed files with 40 additions and 23 deletions

View File

@@ -86,7 +86,7 @@ layout: default
<div class="pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4">
{% include related-posts.html %}
<div class="post-pager d-flex justify-content-between">
<div class="post-navigation d-flex justify-content-between">
{% if page.previous.url %}
<a href="{{ site.baseurl }}{{ page.previous.url }}" class="btn btn-outline-primary">
<p>{{ page.previous.title }}</p>
@@ -104,7 +104,7 @@ layout: default
<p>-</p>
{% endif %}
</a>
</div> <!-- div.post-pager -->
</div> <!-- div.post-navigation -->
{% if site.disqus.comments and page.comments %}
{% include disqus.html %}