static-dev / spike-collections

jekyll-esque dynamic content for spike
Other
18 stars 4 forks source link

Access built body #24

Open SevereOverfl0w opened 7 years ago

SevereOverfl0w commented 7 years ago

I'm more interested in using this for a single page blog listing, with all posts on one page. How could I do this with the plugin? I looked through the source, but it looked like only the locals are stored.

A special _body attribute might be useful.

I suppose it's not useful to have this feature alongside per-page compiles. I'm not sure how to reconvene the idea of specifying the full page you extend, as well as having an independent body.

jescalan commented 7 years ago

It would be possible to add this feature through a custom plugin hook, but it would be a decent amount of work, and at the moment it's not enough of a priority that I am able to make it happen. If you are interested at all in contributing though this might be a good opportunity!