(This isn't meant to be merged, and is probably easier to read the end result rather than a diff. Is also incomplete.)
When doing the Journal here we didn't really worry about the front-end patterns and how to reuse code. We do need to look at this, so this is an experiment to see how it could work.
Assumes:
We're using Twig for the patterns (agreed with @davidcmoulton )
We want to have as little code in Journal as possible, so that creating your own applications means you could reuse code without having to fork it
We want to allow extending/replacing patterns, without having to replace/duplicate the whole lot.
(This isn't meant to be merged, and is probably easier to read the end result rather than a diff. Is also incomplete.)
When doing the Journal here we didn't really worry about the front-end patterns and how to reuse code. We do need to look at this, so this is an experiment to see how it could work.
Assumes: