mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Add Related-Posts in the bottom of each posts.
This commit is contained in:
@@ -52,7 +52,7 @@ layout: default
|
||||
<div class="post-tail text-muted">
|
||||
<!-- Tags -->
|
||||
{% if page.tags.size > 0 %}
|
||||
<div class="mb-2">
|
||||
<div class="mb-4">
|
||||
{% for tag in page.tags %}
|
||||
<a href="{{ site.baseurl }}/tags/{{ tag | replace: ' ', '-' | downcase }}/"
|
||||
class="post-tag no-text-decoration" >
|
||||
@@ -61,11 +61,12 @@ layout: default
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div><!-- endof .post-tail -->
|
||||
|
||||
</div> <!-- .post -->
|
||||
|
||||
{% include related-posts.html %}
|
||||
|
||||
<div class="post-pager d-flex justify-content-between">
|
||||
{% if page.previous.url %}
|
||||
<a href="{{ site.baseurl }}{{page.previous.url}}" class="btn btn-outline-primary">
|
||||
|
||||
Reference in New Issue
Block a user