Open juliotaylor opened 8 years ago
@dmseaton did you come up with some logic / magic for deciding where sidebars / full width is used?
The way sidebars are used / shown needs a wider review. Something clever is needed.
If we're talking about the same thing, I just split the start/end row into partials to be included where needed. Maybe these parts could be included in the header by default, but be easy to comment out and use elsewhere (a bit like _getheader()/_getfooter()).
will these partials include the logic for the column split?
we'll need one for full width pages too I assume?
is there a way to achieve this with an equivalent to build()
?
I propose we remove sidebars from the footer, and add them to the specific template as and when it's needed. So, each template has its own structural markup, and sidebar is included as a organism as and when it's needed.
Thoughts? @dmseaton @jrgmartin
possibly something for 2.1