From 738d5d94e0a9b3fe00010e591a11324e03231af8 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 3 Mar 2022 19:14:21 -0600 Subject: [PATCH] Always include `app_title` in global template rendering context --- tailbone/subscribers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tailbone/subscribers.py b/tailbone/subscribers.py index 44b69247..741f9265 100644 --- a/tailbone/subscribers.py +++ b/tailbone/subscribers.py @@ -102,6 +102,7 @@ def before_render(event): renderer_globals = event renderer_globals['rattail_app'] = request.rattail_config.get_app() + renderer_globals['app_title'] = request.rattail_config.app_title() renderer_globals['h'] = helpers renderer_globals['url'] = request.route_url renderer_globals['rattail'] = rattail