diff --git a/blog/sexp/sexp_components.py b/blog/sexp/sexp_components.py index 034d888..5f4119b 100644 --- a/blog/sexp/sexp_components.py +++ b/blog/sexp/sexp_components.py @@ -99,6 +99,8 @@ def _post_admin_header_html(ctx: dict, *, oob: bool = False, selected: str = "") admin_href = qurl("blog.post.admin.admin", slug=slug) label_html = render("blog-admin-label") + if selected: + label_html += f' {escape(selected)}' nav_html = _post_admin_nav_html(ctx, selected=selected)