diff --git a/_config.yml b/_config.yml index af4c1b6..88bdb66 100644 --- a/_config.yml +++ b/_config.yml @@ -1,3 +1,5 @@ name: Tyler Hallada - Blog markdown: redcarpet pygments: true +paginate: 10 +paginate_path: "blog/page:num" diff --git a/blog/index.html b/blog/index.html index 6db1eec..471d0f6 100644 --- a/blog/index.html +++ b/blog/index.html @@ -3,7 +3,7 @@ layout: default title: Tyler Hallada - Blog --- -{% for post in site.posts %} +{% for post in paginator.posts %}