From b7e9e41f91c1375eaa6f1331b2a90a2dbf15749c Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Sun, 2 Apr 2017 08:23:21 +0200 Subject: [PATCH] Pagination --- Gemfile | 1 + Gemfile.lock | 3 +++ _config.yml | 1 + _includes/paginator.html | 12 ++++++++++++ _layouts/cr.html | 2 +- crs.html | 10 ++++++++-- 6 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 _includes/paginator.html diff --git a/Gemfile b/Gemfile index 49b8457..da26aa6 100644 --- a/Gemfile +++ b/Gemfile @@ -21,4 +21,5 @@ gem "minima", "~> 2.0" # If you have any plugins, put them here! group :jekyll_plugins do gem 'octopress-minify-html' + gem 'octopress-paginate' end diff --git a/Gemfile.lock b/Gemfile.lock index 306004b..a349ee0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -50,6 +50,8 @@ GEM html_press (~> 0.8) jekyll (>= 2.0) octopress-hooks + octopress-paginate (1.2.0) + octopress-hooks pathutil (0.14.0) forwardable-extended (~> 2.6) public_suffix (2.0.4) @@ -70,6 +72,7 @@ DEPENDENCIES jekyll (= 3.3.1) minima (~> 2.0) octopress-minify-html + octopress-paginate RUBY VERSION ruby 2.4.0p0 diff --git a/_config.yml b/_config.yml index b80ac72..5be9424 100644 --- a/_config.yml +++ b/_config.yml @@ -52,6 +52,7 @@ markdown: kramdown theme: minima gems: - octopress-minify-html + - octopress-paginate exclude: - Gemfile - Gemfile.lock diff --git a/_includes/paginator.html b/_includes/paginator.html new file mode 100644 index 0000000..8b08ad5 --- /dev/null +++ b/_includes/paginator.html @@ -0,0 +1,12 @@ + diff --git a/_layouts/cr.html b/_layouts/cr.html index ecd633c..fb26dba 100644 --- a/_layouts/cr.html +++ b/_layouts/cr.html @@ -5,7 +5,7 @@ layout: default