journeygroup/elmo

Make variables available globally

Opened this issue · 0 comments

To lower the barrier of entry even further, this feature would make any variable defined in any template available to any file in the current route tree. Even a variable defined in subtemplate would be available to the master template. No fancy definitions required, just $variable = 'something' at any point would make $variable available everywhere.