summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/context.py1
1 files changed, 1 insertions, 0 deletions
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],
}