2021/01/25
_posts
folder must have the following format:
yyyy-mm-dd-name-with-dashes.md
Note: Do not use underscore or they are not detected.
_config.yml
need the jekyll serve
process to be stopped and restarted.*.html
or *.md
files don’t need restarting - they get automatically detected and reloaded.gem install <packageName>
and then bundler add <packageName>
includes it in your project’s Gemfile.gem uninstall eventmachine
gem install eventmachine --platform ruby
jekyll serve --livereload --incremental
jekyll-paginate-v2
is not supported by GitHub Pages. Use v1 instead which is not being actively developed or maintained, but at least works.No point in trying to make this work because it is not supported by GitHub Pages. But here is what I learned about it, in case it ever gets support:
index.md
with the front matter:
pagination:
enabled: true
Gemfile
needs to indicate the plugin inside the :jekyll_plugins
group loop:
group :jekyll_plugins do
gem "jekyll-paginate-v2", ">= 3.0"
gem "jekyll-feed"
end
_config.yml
file needs to enable the plugin with at least these options:
plugins:
- jekyll-paginate-v2
pagination:
enabled: true
pagination:
debug: true
Some useful resources I found when learning how to configure this blog: