Write to head and body tags at the folder level

Some code doesn't need to apply to the whole site. In fact, some code shouldn't at all, like code that runs on gated content pages.

It's a real pain in the ass during development to change a module that affects all gated content pages, and then have to add the build bundle to the body tags of each page that imports that module.

There would also need to be an override setting where the inheritance of code from a parent route can be disabled.

  • Kay Tien
  • Jul 12 2023