I am using Jekyll for a static site and I am trying to create a blog as a subdirectory / subfolder:
http:
In the directory structure, before running jekyll, this is blog / index.html.
I tried adding pagination by adding "paginate: 5" to _config.yml, but the generated url looked like:
http://example.com/page2/
i.e. no "/ blog". This is fixed:
paginate_path: / blog / page /: num
in _config.yml.
But the resulting generated pages:
http://example.com/blog/page/2/
do not use blog / index.html as your layout. They use the root index.html. What is the point even with the paginate_path parameter, then?
How do I get my blog at example.com/blog paginated using Jekyll?