05/17/20
Tutorials
Paginate This Blog
I used the following code in /config.yml
:
paginate: 5
paginate_path: "/blog/:num/"
I also learned that index.html
becomes the slash on whatever its root. For example, blog/index.html
is happily routed as /blog/
! So don’t worry about
Oh dear, and I’ll likely do this next…
The End.
About the Author:
Benji is a professional web dude. He is a freelance web developer, making cool things for money (and sometimes beer).
Disclaimer!
Photos on this blog are sometimes taken by me, but sometimes free for use with attribution from Unsplash.com.