Skip to content

Commit

Permalink
Force to use jekyll-paginate
Browse files Browse the repository at this point in the history
  • Loading branch information
ngzhio committed Jul 16, 2020
1 parent e7b8ce3 commit 1e07ff0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ After installation, you can run `jekyll serve` to check out your site, but befor
| `email` | string | The email of the author of the site. |
| `skin` | string | The skin name. See more information on the [Customization](#customization) section. |
| `lang` | string | The language of the site; The default value is `en`. |
| `paginate` | int | The number of posts on each page. To enable pagination, you must use a third-party plugin, e.g. [`jekyll-paginate`](https://github.com/jekyll/jekyll-paginate), [`jekyll-paginate-v2`](https://github.com/sverrirs/jekyll-paginate-v2), or [`jekyll-pagination`](https://github.com/prometheus-ev/jekyll-pagination). |
| `paginate` | int | The number of posts on each page. |
| `date_format` | string | The date format; The default value is `%b %-d, %Y`. |

## Archive Pages
Expand Down
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ plugins:
- jekyll-seo-tag
- jekyll-feed
- jekyll-sitemap
- jekyll-paginate

paginate: 10

# Uncomment the below line and set the tracking ID for enabling Google Analytics
#
Expand Down
1 change: 1 addition & 0 deletions jekyll-theme-hamilton.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.6"
spec.add_runtime_dependency "jekyll-feed", "~> 0.13"
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.4"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"

spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "rake", "~> 12.0"
Expand Down

0 comments on commit 1e07ff0

Please sign in to comment.