luci-theme-bootstrap: remove broken title class on <body>

When the bootstrap theme was first ported to ucode, the dispatched
menu.d title was intended to be added to the <body> CSS classes.

It never worked because it uses the wrong variable name.
It also doesn't seem useful and other themes don't do it.

So let's just remove it.

Signed-off-by: Packet Please <pktpls@systemli.org>
pull/8919/head
Packet Please 2026-08-07 18:28:52 +02:00 committed by Jo-Philipp Wich
parent 7c6d8ff7f8
commit 084fae3db5
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
<script src="{{ resource }}/cbi.js"></script>
</head>
<body class="lang_{{ dispatcher.lang }} {{ entityencode(striptags(node?.title ?? ''), true) }}" data-page="{{ entityencode(join('-', length(ctx.request_path) ? ctx.request_path : ctx.path), true) }}">
<body class="lang_{{ dispatcher.lang }}" data-page="{{ entityencode(join('-', length(ctx.request_path) ? ctx.request_path : ctx.path), true) }}">
{% if (!blank_page): %}
<header>
<a class="brand" href="/">{{ striptags(boardinfo.hostname ?? '?') }}</a>