Modify pagination

This commit is contained in:
2016-01-13 10:55:35 +00:00
parent e6110f3ef3
commit 6c5141eb4f
4 changed files with 10 additions and 15 deletions

View File

@@ -15,8 +15,7 @@ maps: AIzaSyCyIwGR-F48dFjAbwNr9JdOsfUYaUQxz1s
# pagination # pagination
paginate: 3 paginate: 3
all_posts: 'Alle posts →' all_posts: 'Alle # posts →'
all_posts_description: 'Bekijk alle # posts.'
read_more: '» Verder lezen...' read_more: '» Verder lezen...'
previous_page: '← Vorige pagina' previous_page: '← Vorige pagina'
next_page: 'Volgende pagina →' next_page: 'Volgende pagina →'

View File

@@ -1,9 +1,7 @@
--- ---
id: 3218 id: 3218
title: Whisky & Poker title: Whisky & Poker
author: Rik author: Rik
layout: post layout: post
--- ---
Alweer een vervolg op de vorige [zelfgeorganiseerde whisky tasting][1]! Een prima besteding van een donkere en koude herfstavond. 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.
[1]: {% post_baseurl 2015-10-14-whisky-poker %} "Whisky & Poker"

View File

@@ -25,14 +25,7 @@ tags: blog scotland chemistry phd
{% if paginator.next_page %} {% if paginator.next_page %}
<a href="/{{ site.baseurl }}{{ paginator.next_page_path }}">{{ site.next_page }}</a> <a href="/{{ site.baseurl }}{{ paginator.next_page_path }}">{{ site.next_page }}</a>
{% endif %} {% endif %}
&nbsp;|&nbsp;
<a href="/{{ site.baseurl }}/blog/" class="read-more">{{ site.all_posts | replace:'#',site.posts.size }}</a>
</ul> </ul>
{% endif %} {% endif %}
{% if paginator.next_page %}
<section>
<header>
<h1><a href="/{{ site.baseurl }}/blog/">{{ site.all_posts }}</a></h1>
<div class="meta">{{ site.all_posts_description | replace:'#',site.posts.size }}</div>
</header>
</section>
{% endif %}

View File

@@ -134,6 +134,11 @@ a {
color: #CF5406; color: #CF5406;
} }
ul.pager {
position: relative;
left: 80px;
}
a.read-more, ul.pager a { a.read-more, ul.pager a {
text-decoration: none; text-decoration: none;
} }