From 003b9d347cc95ca6b5a5a5300fe541d2fcc1c83c Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 18 Aug 2015 20:05:25 +0200 Subject: [PATCH] Add links to next and previous post --- _layouts/post.html | 10 ++++++++++ _sass/_posts.scss | 19 +++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/_layouts/post.html b/_layouts/post.html index 7e46eead..c8cf6f32 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -7,6 +7,16 @@ layout: default {{ content }}
+ + + {% include google_adsense.html %}
{% include disqus.html %} diff --git a/_sass/_posts.scss b/_sass/_posts.scss index 5acf2780..9d02471b 100644 --- a/_sass/_posts.scss +++ b/_sass/_posts.scss @@ -59,3 +59,22 @@ } } } + +.PageNavigation { + font-size: 0.9em; + display: table; + width: 100%; + overflow: hidden; +} + +.PageNavigation a { + display: table-cell; +} + +.PageNavigation .previous { + text-align: left; +} + +.PageNavigation .next { + text-align: right; +}