Tutorials
17 May 2020

Paginate This Blog

By Benji

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 works at Top Hat making cool web 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.