Always include app_title in global template rendering context

This commit is contained in:
Lance Edgar 2022-03-03 19:14:21 -06:00
parent 3fae9e6270
commit 738d5d94e0

View file

@ -102,6 +102,7 @@ def before_render(event):
renderer_globals = event renderer_globals = event
renderer_globals['rattail_app'] = request.rattail_config.get_app() renderer_globals['rattail_app'] = request.rattail_config.get_app()
renderer_globals['app_title'] = request.rattail_config.app_title()
renderer_globals['h'] = helpers renderer_globals['h'] = helpers
renderer_globals['url'] = request.route_url renderer_globals['url'] = request.route_url
renderer_globals['rattail'] = rattail renderer_globals['rattail'] = rattail