… was a single
Yesterday, I reported a bug I encountered in the jekyll-paginate-v2 plugin that I use on this site, where it would not generate the first page (
index.html) if there were no posts. This resulted in
404 (Not found) errors on GitLab Pages, which lead me to believe that I had royally screwed up my hosting configuration.
Update: Of course, I got code-reviewed down to:
total_pages = 1 if total_pages.zero?
Ruby does Perl? Tim Toady!