Askama looks interesting, though the inheritance is a bit underdocumented.
Ideally, I'd imagine just making a "Global<T>" struct, where I insert the current page context like so "Global<LoginPage>" to get the final template. Though by the looks, it sounds more like LoginPage will simply have to have all the global context available via some attribute like "LoginPage.global".
https://djc.github.io/askama/creating_templates.html#the-tem...
Regardless, it's good to see some variety and experimentation like Maud in software design