Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Not able to paginate index.html? #202

Closed
mdosch opened this issue Jan 31, 2014 · 4 comments
Closed

Not able to paginate index.html? #202

mdosch opened this issue Jan 31, 2014 · 4 comments
Assignees

Comments

@mdosch
Copy link

mdosch commented Jan 31, 2014

Hi,
I'm trying for 3 days now to get pagination working but there are still all posts shown at index.html instead of just the amount of posts configured.

I'm using the hooligan theme and configured pagination as explained here: http://jekyllrb.com/docs/pagination/

You can have a look at my test-page: http://test.mdosch.de/

Is there any hint to configure this?

Best regards,
Martin

@samjross
Copy link

samjross commented Sep 2, 2014

Hi Martin. I tried it out and it worked just as expected for me, with the caveat that it doesn't work if you're using 'index.md' -- which is what jekyll bootstrap comes with by default -- but you have to use 'index.html'.

If you checkout commit 2f1494d in the 'experiments' branch in this repo - https://github.com/flannelJesus/flannelJesus.github.io - you can see.

http://jekyllrb.com/docs/pagination/

I know you say you looked at that document already, but that's all I used to get it to work. Their sample code, modified to fit the Bootstrap Pagination Classes, with the knowledge that it doesn't work in markdown files, is all I needed.

@samjross
Copy link

samjross commented Sep 2, 2014

However, I think that seeing as a lot of people coming to Jekyll will want pagination, perhaps 'jekyll bootstrap' should use index.html by default rather than a format that doesn't allow pagination...

@mdosch
Copy link
Author

mdosch commented Sep 3, 2014

Hi,

I tried it again and it is working.
Thank you.

Best regards,
Martin

Am 02.09.2014 um 23:54 schrieb flannel jesus:

However, I think that seeing as a lot of people coming to Jekyll will want pagination, perhaps 'jekyll bootstrap' should use index.html by default rather than a format that doesn't allow pagination...


Reply to this email directly or view it on GitHub:
#202 (comment)

@groundh0g groundh0g self-assigned this Mar 2, 2015
@groundh0g
Copy link
Collaborator

Adding to list of potential FAQs. May end up being a tweak, as suggested by @flanneljesus.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants