From 847195685438a84734336cba6f98d01c62551e8c Mon Sep 17 00:00:00 2001 From: "Open-Steps.org" Date: Mon, 1 Dec 2014 00:53:27 +0100 Subject: [PATCH] added pagination --- _config.yml | 2 +- index.html | 21 ++++++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index f80d06e5..4ce49e01 100644 --- a/_config.yml +++ b/_config.yml @@ -8,7 +8,7 @@ description: > # this means to ignore newlines until "baseurl:" Our focus is on intermedia arts and technologies, but we love to be surprised..! baseurl: "" # the subpath of your site, e.g. /blog/ url: "http://scopesessions.org" # the base hostname & protocol for your site -paginate: 2 +paginate: 4 paginate_path: "page:num/" # Build settings markdown: kramdown diff --git a/index.html b/index.html index 8a2c24da..9221cf6c 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ layout: default

Events

- {% for post in site.posts %} + {% for post in paginator.posts %}
@@ -32,6 +32,25 @@ layout: default {% endfor%} + +