From 2812bf7c3e4a0496e48767f2368633b31a373e5f Mon Sep 17 00:00:00 2001 From: Frederic Hemberger Date: Sun, 16 Oct 2011 14:27:21 +0200 Subject: Adds prev/next link below post, fixes #218 --- .themes/classic/sass/partials/_blog.scss | 4 +++- .themes/classic/source/_layouts/post.html | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to '.themes/classic') diff --git a/.themes/classic/sass/partials/_blog.scss b/.themes/classic/sass/partials/_blog.scss index 88c71e9d..63e4ee40 100644 --- a/.themes/classic/sass/partials/_blog.scss +++ b/.themes/classic/sass/partials/_blog.scss @@ -73,7 +73,9 @@ article { @extend .sans; p.meta { margin-bottom: .8em; - font-size: .85em; + font-size: .85em + clear: both; + overflow: hidden; } .byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before { @extend .separator; diff --git a/.themes/classic/source/_layouts/post.html b/.themes/classic/source/_layouts/post.html index 3b1208da..f61d52a8 100644 --- a/.themes/classic/source/_layouts/post.html +++ b/.themes/classic/source/_layouts/post.html @@ -15,6 +15,14 @@ single: true {% unless page.sharing == false %} {% include post/sharing.html %} {% endunless %} +

+ {% if page.previous.url %} + « {{page.previous.title}} + {% endif %} + {% if page.next.url %} + {{page.next.title}} » + {% endif %} +

{% if site.disqus_short_name and page.comments == true %} -- cgit v1.2.1