sergiokopplin / indigo

:ramen: Minimalist Jekyll Template, dark and light themes

Home Page:https://sergiokopplin.github.io/indigo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog posts disappear on enabling pagination

Aman-1412 opened this issue · comments

Might be related to this, I guess:
#231

Firstly, thank you for this amazing theme! I spent 8 hours searching for themes and finally settled on this one, it's the best one out there! (for me)

The issue I'm facing right now is that whenever I enable pagination, all of my blogs disappear.
I tested it - the only thing I change is pagination and the blogs disappear/appear.

Here's how my blog looks like after enabling pagination:
image

With pagination disabled, everything works fine:
https://amangoyal.me/blog/

Now the real cracker:
Pagination enabled:true works on my local build! The blogs appear fine, when I'm running locally with pagination turned on
It's only when I deploy to github-pages/cloudflare that the pagination breaks.
image

Note: the blogs in question are the default blogs. I did change the dates, but they are still dates in the past. (28 Dec 2020)

Happy to provide if you need any more information.

Found the issue:
I'm hosting the site on Github Pages
The issue occurs because github pages does not support paginate-v2:
https://github.com/sverrirs/jekyll-paginate-v2
https://pages.github.com/versions/

Solutions?
From my initial reserach, looks like using Travis CI or some other build tool to build the site on pushing to github (or building and pushing your site locally) should work.

All said, not an issue with the theme. It's just that GitHub doesn't support that plugin yet.
Just a heads up on the README would be awesome!

Edit:
To the wider community, what are you using to bypass this?

  • Travis CI/other build tool
  • local build and push
  • Netlify
  • ???

Edit 2:
I decided to use netlify.
Closing this issue.