diff --git a/_config.yml b/_config.yml index 694629bdd10..60d4c8ace0c 100644 --- a/_config.yml +++ b/_config.yml @@ -7,6 +7,7 @@ date_format: "%B %d, %Y" sidebar: true # show a sidebar instead of the usual header show_excerpts: false # show article excerpts on the home page +show_related: true # show the previous and next links after every post dark_header: false # keep the top-header dark hide_title: false # hide the site title in the header minimal: false # minima-inspired style without box-shadows diff --git a/_includes/post.html b/_includes/post.html index e47bcb79126..0df9f186ffd 100644 --- a/_includes/post.html +++ b/_includes/post.html @@ -12,6 +12,15 @@
Related posts
+ {% if include.post.next.url %} + + {% endif %} + {% if include.post.previous.url %} + + {% endif %} + {% endif %} {% if include.post.comments != false and site.comments.isso or site.comments.disqus %}