eleventy-plugin-bundle icon indicating copy to clipboard operation
eleventy-plugin-bundle copied to clipboard

WIP: Adds (hacky) tracking of paginations

Open slightlyoff opened this issue 6 months ago • 1 comments

Fixes #37

The basic idea is that blocks declared in pages iterated over via frontmatter paginations will be available to the paginating page as well as the pages declaring the blocks. This has some limitations. For instance, iterations over collections aren't handled; e.g. in the front page of the 11ty base blog project. Sites that grab templateContent from a collection without a paginating over the same collection won't get merged blocks, but this is the status quo so I'm not sure how bad that is.

slightlyoff avatar Aug 09 '25 17:08 slightlyoff

Ok, added some minimal tests. Can you take a look, @zachleat?

slightlyoff avatar Oct 02 '25 06:10 slightlyoff