Skip to content

luci-theme-*: Page <title> incomplete since OpenWrt 23.05 #7703

@Self-Hosting-Group

Description

@Self-Hosting-Group

Since OpenWrt 23.05 the called page (menu name) is missing in the page title element, ${node.title} is not set.

When correcting this, it may be better for visibility to show the menu name first, then the hostname, and use | as the separator.

<title>{{ striptags(`${boardinfo.hostname ?? '?'}${node ? ` - ${node.title}` : ''}`) }} - LuCI</title>

Currently missing title:

  • <title>$HOSTNAME - LuCI</title>

But should be displayed as:

  • <title>$HOSTNAME - $TITLE - LuCI</title>

Title suggestions (examples):

  1. <title>DHCP and DNS | $HOSTNAME | LuCI</title>
  2. <title>DHCP and DNS | $HOSTNAME LuCI</title> (good with OpenWrt hostname)
  3. <title>DHCP and DNS | LuCI | $HOSTNAME</title>
  4. <title>DHCP and DNS | LuCI/$HOSTNAME</title> (good with OpenWrt hostname)
  5. <title>DHCP and DNS | $HOSTNAME</title>
  6. <title>DHCP and DNS | LuCI</title>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions