Skip to content

Mobile sidebar does not show navbar items unless they're pageRefs #953

@fufexan

Description

@fufexan

Description

Not sure whether to file this as a bug report or feature request.

I'm trying to get the main menu's links (with urls) to show in the sidebar on mobile, yet they won't show. However, entries with pageRef = /something do show. I find this limiting.

Steps To Reproduce

  1. Set menu.main.<some-entry>'s identifier, name, weight, url
  2. Open site on mobile, and open the sidebar
  3. Entry does not show up

This happens on https://wiki.hypr.land, code at https://github.com/hyprwm/hyprland-wiki

Expected Behavior

Navbar entries should show up in the mobile sidebar (unless they're icons).

Actual Behavior

Navbar entries can not be accessed on mobile.

Screenshots
Desktop:
Desktop view
Mobile, sidebar closed:
Mobile view
Mobile, sidebar open:
Mobile sidebar

Environment

  • Hugo Version: v0.155.3+extended
  • Browser/OS: Zen/Linux
  • Theme Version: v0.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions