aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic/source
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-10-16 14:27:21 +0200
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-10-16 14:27:21 +0200
commit2812bf7c3e4a0496e48767f2368633b31a373e5f (patch)
treebc5fd68765a4f2f25d7dc1dc4c2c1f30a3ee66d0 /.themes/classic/source
parentd84daa2a882e238edc40871d0fdd2f41ff9f51a8 (diff)
downloadmy_new_personal_website-2812bf7c3e4a0496e48767f2368633b31a373e5f.tar.xz
my_new_personal_website-2812bf7c3e4a0496e48767f2368633b31a373e5f.zip
Adds prev/next link below post, fixes #218
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/_layouts/post.html8
1 files changed, 8 insertions, 0 deletions
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 %}
+ <p class="meta">
+ {% if page.previous.url %}
+ <a class="basic-alignment left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">&laquo; {{page.previous.title}}</a>
+ {% endif %}
+ {% if page.next.url %}
+ <a class="basic-alignment right" href="{{page.next.url}}" title="next Post: {{page.next.title}}">{{page.next.title}} &raquo;</a>
+ {% endif %}
+ </p>
</footer>
</article>
{% if site.disqus_short_name and page.comments == true %}