From 5b34ea46c3f458a174c5443714ade43c21defdac Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 16 Nov 2022 21:42:25 -0700 Subject: Call it admin rather than system settings --- core/context.py | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/context.py b/core/context.py index 4346cbb..a4aabf5 100644 --- a/core/context.py +++ b/core/context.py @@ -7,4 +7,5 @@ def config_context(request): "config_identity": ( Config.load_identity(request.identity) if request.identity else None ), + "top_section": request.path.strip("/").split("/")[0], } -- cgit v1.2.3