-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
The current logic for the generation is the following, page per page:
- page_read_source
- page_markdown
- page_content
This approach leads to inconsistencies in the generated content, when a page uses the metadata from one or multiple other page(s). Use-cases are for example a page listing other pages with a certain metadata content (like the pages of some author, the pages that have a certain status, etc.).
A specific related issue when using the built-in server and monitoring file changes: when you change file A that uses metadata from file B, the newly generated content now have access the B metadata that was missing during the initial generation. As a consequence the generated content of A changes without any link to the effective changes in A.
A correction would be to load all files, including metadata, and only then do the content generation accordingly. This would have the following positive impacts:
- solving situations where generated content is inconsistent,
- improve features (like the one found in
jekyllorhugogenerators
However, this would also negatively impact the memory usage, like the proposal in #2669
All: it would be interesting to have your end-user feedback here (please vote) to evaluate the willingness to have such feature rather than performance optimization.