This is probably a weird use of layouts (I'm kinda using them like components). However, since most of my templates are already in a layout, this didn't work since it was just outputting to itself (the __content variable shadows the parent, which also is a layout setting the output var to __content).
This is probably a weird use of layouts (I'm kinda using them like components). However, since most of my templates are already in a layout, this didn't work since it was just outputting to itself (the
__content
variable shadows the parent, which also is a layout setting the output var to__content
).Also added a test for this.