Ben Thomson 090562a5ea
Share variables shared via View::share() with Twig templates (#969)
Fixes #630

This allows global variables populated by the View::share('name', 'value') method to be used in Twig templates. The values will only be populated if they have not been specified as a global previously, to prevent overriding system globals such as this.page. It will also allow the pages themselves to still override the values if need be.
2023-09-06 21:25:06 -06:00
..