This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Patches Jekyll's built-in pagination to work with files *other* than the base index.html. | |
# Expects the following to be specified in your _config.yml: | |
# | |
# paginate_base: "blog" # Puts all pagination folders in the "blog" dir, e.g. "/blog/page2" | |
# paginate_index: "blog/index.html" # Paginates using the specified file | |
module Jekyll | |
class Page | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Jekyll | |
class Pagination < Generator | |
# This generator is safe from arbitrary code execution. | |
safe true | |
# Generate paginated pages if necessary. | |
# | |
# site - The Site. | |
# |
NewerOlder