summaryrefslogtreecommitdiffstats
path: root/blog/_layouts/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'blog/_layouts/post.html')
-rw-r--r--blog/_layouts/post.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/blog/_layouts/post.html b/blog/_layouts/post.html
index 1fb1857..17d4979 100644
--- a/blog/_layouts/post.html
+++ b/blog/_layouts/post.html
@@ -7,4 +7,12 @@ layout: default
<section class="post-body">
{{ content }}
</section>
+ <footer>
+ {% if page.previous %}
+ <div class="prev-post"><a href="{{ page.previous.url }}">{{ page.previous.title }}</a></div>
+ {% endif %}
+ {% if page.next %}
+ <div class="next-post"><a href="{{ page.next.url }}">{{ page.next.title }}</a></div>
+ {% endif %}
+ </footer>
</article>