diff --git a/_config.yml b/_config.yml index a21592241..1eb5eecd1 100644 --- a/_config.yml +++ b/_config.yml @@ -59,7 +59,7 @@ recommend-tags: true # whether or not display recommend-tags on the sidebar recommend-condition-size: 12 # a tag will be recommended if the size of it is more than this value # Build settings -paginate: 6 +paginate: 2 paginate_path: 'page:num' exclude: ['node_modules', 'dev', 'package.json', 'gulpfile.js', '.gitignore', 'README.md'] diff --git a/index.html b/index.html index 9d85afe61..f6c59df79 100644 --- a/index.html +++ b/index.html @@ -83,7 +83,7 @@

{{ post.subtitle }}

{% if forloop.index > site.recommend-condition-size %} {% break %} {% endif %} - {{ tag[0]}} + {{ tag[0]}} {% endfor %} {% endif %}