Comments (6)
I found this to be helpful https://stackoverflow.com/a/29177455/703220
Basically do as the warning tells you, instead of using a non-index.html file use an index.html.
In my case, I wanted to put pagination on a file called archive.html.
The solution was to put created a folder called archive and place a file called index.html
Then just update the permalink and paginate_path
Update
Had some issues regarding the next and previous navigations not rendering correctly. Checked out https://github.com/sverrirs/jekyll-paginate-v2 and it's working a lot better. Plus didn't have to use the nested index.html, works on a non-index.html file.
from jekyll-paginate.
Looks like jekyll-paginate-v2 is not compatible with github pages
from jekyll-paginate.
Seeing as this plugin isn't under active development, thought it was a valid solution to point to a project that fixed my problem is all.
from jekyll-paginate.
yeah i agree with that paginate-v2 is not compatible with github pages
from jekyll-paginate.
@michaellee : So, you're essentially suggesting the use of an alternate version of jekyll-paginate? I might look into it, but that does not resolve the issue for this package (= jekyll/jekyll-paginate).
from jekyll-paginate.
I'm using the following:
- jekyll (3.4.3)
- jekyll-paginate (1.1.0)
I'm encountering the same problem as eyalroz.
from jekyll-paginate.
Related Issues (20)
- Index gets last page, no other page is generated HOT 3
- previous_page_path includes index.html HOT 7
- Ensure :num is in the pagination output url
- How to make configuration for category pagination? HOT 3
- Pagination doesn't generate page directories when permalink is set HOT 4
- allow more isolated use of Jekyll::Paginate::Pager HOT 1
- Toughts on all new Jekyll pagination system HOT 22
- Feature request: "Reverse" pagination HOT 2
- Track time New issue Pagination when the index.html has had its name changed HOT 1
- auto-rebuilding not working
- Now available: New Pagination Plugin (Fully backwards compatible) HOT 4
- Import checks from Jekyll HOT 2
- Paginate based on Category HOT 4
- GithubPage Posts page works only with an ending / HOT 1
- jekyll 3.8.5 | Error: File exists @ dir_s_mkdir jekyll/_site/tag/inspire HOT 1
- Does sorting work at all with this plugin?
- Absolute permalinks break paginator when permalink is specified for index file
- Allow to exclude certain categories from paginated posts HOT 6
- Jekyll crash on invalid path in configuration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-paginate.