mirror of https://github.com/openwrt/luci.git
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
parent
7c6d8ff7f8
commit
084fae3db5
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue