diff --git a/_config.yml b/_config.yml index c25b18e..2c726d1 100644 --- a/_config.yml +++ b/_config.yml @@ -12,10 +12,10 @@ github_username: sipp11 # Build settings markdown: kramdown -permalink: /:year/:month/:day/:title.html +permalink: /:year/:month/:day/:title/ paginate: 8 -paginate_path: "post/page:num/" +paginate_path: "post/page/:num/" sass: style: :compressed diff --git a/_includes/paginator.html b/_includes/paginator.html index 3a31448..0a14cfc 100644 --- a/_includes/paginator.html +++ b/_includes/paginator.html @@ -5,14 +5,14 @@ {% else %} « Prev {% endif %} - +{{ site.baseurl }} {% for page in (1..paginator.total_pages) %} {% if page == paginator.page %} {{ page }} {% elsif page == 1 %} - {{ page }} + {{ page }} {% else %} - {{ page }} + {{ page }} {% endif %} {% endfor %}