GithubHelp home page GithubHelp logo

Comments (6)

michaellee avatar michaellee commented on August 16, 2024 5

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.

davideghz avatar davideghz commented on August 16, 2024 5

Looks like jekyll-paginate-v2 is not compatible with github pages

from jekyll-paginate.

michaellee avatar michaellee commented on August 16, 2024 4

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.

naveenjujaray avatar naveenjujaray commented on August 16, 2024 4

yeah i agree with that paginate-v2 is not compatible with github pages

from jekyll-paginate.

eyalroz avatar eyalroz commented on August 16, 2024 1

@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.

ishwon avatar ishwon commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.