Closed edbrannin closed 5 years ago
I've looked into this myself, but got held up at the part where I would hand Jinja some block content... they have excellent documentation on using jinja, but not much on the internals... :-/
The alternative would be to have a special kind of process where a single page's rendered contents could be slurped wholesale into a template variable, then render that template and replace the original page. I'm guessing that's not possible?
Maybe I'll look into how Blogofile does this.
Yes, "populate jinja context with numerous values" does seem to be how Blogofile handles this. Any way we could make page contents available in a limited scope without risking circular dependencies?
It would be nice if I could have a folder of Markdown files that all get parsed with the same layout, like some blog-style SSGs.
Perhaps this is a thing I should make a plugin for on my site?