jekyll-paginate-v2 icon indicating copy to clipboard operation
jekyll-paginate-v2 copied to clipboard

HTML from paginated pages removed

Open zachwhaley opened this issue 4 years ago • 1 comments

I'm upgrading from Jekyll 3 to 4 and I've noticed that with my paginated pages, there is HTML that is being removed during build. I'm unsure if this is an issue with jekyll-paginate-v2 or Jekyll v4

It seems like anything that is not part of the pagination loop or the navigation is removed during build.

E.g.

This image currently works in Jekyll v3 and jekyll-paginate-v2 v2 https://galtx-centex.org/greyhounds/rainbowbridge/ Screen Shot 2020-08-09 at 3 08 12 PM

But after upgrading to Jekyll v4 and jekyll-paginate-v2 v3 the image is gone Screen Shot 2020-08-09 at 3 07 10 PM

zachwhaley avatar Aug 09 '20 20:08 zachwhaley

I'm experiencing this too. On my page, I have two paginators: one on index.html and one in a subdirectory. If I disable the second paginator, index.html behaves as expected. If I enable the second one, however, index.html is missing some HTML before the paginator...even if the Liquid statements for the paginator are completely removed. Additionally, if I modify the HTML on the subdirectory's paginator, those changes propagate to index.html. Jekyll v3/jekyll-paginate-v2 v3 works just fine.

compucat avatar Dec 16 '20 07:12 compucat