sylhare / Type-on-Strap

🎨 Simplistic, responsive jekyll based open source theme
https://sylhare.github.io/Type-on-Strap/
MIT License
813 stars 901 forks source link

Posts not showing up on home page (or anywhere) #341

Closed julia-neme closed 2 years ago

julia-neme commented 2 years ago

Hi sylhare!! First of all, great template and thank you so much for making it available!

I am having trouble generating posts. For some reason, they are not appearing on my site, and I have no clue what is going on.

My site

github repo

Thank you so much in advance :)

im-coder-lg commented 2 years ago

Hmm, I haven't seen that myself. My website also has Type on Strap but I never encountered this! Have you messed with pagination?

julia-neme commented 2 years ago

Where could I check pagination? Sorry, I'm a complete newb at this

im-coder-lg commented 2 years ago

I think in _config.json, there should be a pagination line that was fixed at 5. You messed it up?

julia-neme commented 2 years ago

Yep that was it, thank you so much!

im-coder-lg commented 2 years ago

Wow, I never expected it. True, @danisztls had mentioned that pagination messed things up big time, but I never knew this came so far till here! @sylhare is it common for pagination errors in Jekyll?

danisztls commented 2 years ago

Wow, I never expected it. True, @danisztls had mentioned that pagination messed things up big time, but I never knew this came so far till here! @sylhare is it common for pagination errors in Jekyll?

For the scope of the theme I don't think it would mess things and pagination issues here are probably due to misconfiguration. Though, from my own experience, Jekyll default pagination doesn't cut for multi-language sites and collections. And for that cases I use 'jekyll-paginate-v2'.