From 6c5141eb4f836ed244103a093d79a9b972bd2fb7 Mon Sep 17 00:00:00 2001 From: Rik Veenboer Date: Wed, 13 Jan 2016 10:55:35 +0000 Subject: [PATCH] Modify pagination --- _config.yml | 3 +-- blog/_posts/2015-11-19-whisky-poker.md | 6 ++---- index.html | 11 ++--------- static/style/default-common.css | 5 +++++ 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/_config.yml b/_config.yml index cc7bf6b..3aa8cf3 100644 --- a/_config.yml +++ b/_config.yml @@ -15,8 +15,7 @@ maps: AIzaSyCyIwGR-F48dFjAbwNr9JdOsfUYaUQxz1s # pagination paginate: 3 -all_posts: 'Alle posts →' -all_posts_description: 'Bekijk alle # posts.' +all_posts: 'Alle # posts →' read_more: '» Verder lezen...' previous_page: '← Vorige pagina' next_page: 'Volgende pagina →' diff --git a/blog/_posts/2015-11-19-whisky-poker.md b/blog/_posts/2015-11-19-whisky-poker.md index 5457901..882d5e3 100644 --- a/blog/_posts/2015-11-19-whisky-poker.md +++ b/blog/_posts/2015-11-19-whisky-poker.md @@ -1,9 +1,7 @@ --- id: 3218 -title: Whisky & Poker +title: Whisky & Poker author: Rik layout: post --- -Alweer een vervolg op de vorige [zelfgeorganiseerde whisky tasting][1]! Een prima besteding van een donkere en koude herfstavond. - - [1]: {% post_baseurl 2015-10-14-whisky-poker %} "Whisky & Poker" \ No newline at end of file +Alweer een vervolg op de vorige [zelfgeorganiseerde whisky tasting]({% post_baseurl 2015-10-14-whisky-poker %} "Whisky & Poker")! Een prima besteding van een donkere en koude herfstavond. \ No newline at end of file diff --git a/index.html b/index.html index abb85f3..bf0a976 100644 --- a/index.html +++ b/index.html @@ -25,14 +25,7 @@ tags: blog scotland chemistry phd {% if paginator.next_page %} {{ site.next_page }} {% endif %} +  |  + {{ site.all_posts | replace:'#',site.posts.size }} {% endif %} - -{% if paginator.next_page %} -
-
-

{{ site.all_posts }}

-
{{ site.all_posts_description | replace:'#',site.posts.size }}
-
-
-{% endif %} diff --git a/static/style/default-common.css b/static/style/default-common.css index 34b5a1f..cc6fc2d 100644 --- a/static/style/default-common.css +++ b/static/style/default-common.css @@ -134,6 +134,11 @@ a { color: #CF5406; } +ul.pager { + position: relative; + left: 80px; +} + a.read-more, ul.pager a { text-decoration: none; }