Skip to content

FEATURE: Add always_show setting - #87

Merged
Grubba27 merged 1 commit into
mainfrom
always-show-setting
Nov 12, 2026
Merged

Grubba27 merged 1 commit into
mainfrom
always-show-setting

Conversation

@Grubba27

Copy link
Copy Markdown
Contributor

Adds an always_show theme setting (default: false).

By default the header search bar is hidden:

  • on mobile, and
  • in topics once the topic title docks into the header.

When always_show is enabled, both of those conditions are skipped and the search bar always renders (still respecting login_required). This gives sites that relied on the old mobile-show branch an option on main, so they can track main again.

Changes

  • settings.yml: new always_show bool setting
  • header-search.gjs: skip the mobile/docked-title checks when always_show is enabled
  • README: document the setting
  • Tests: acceptance tests for mobile (hidden by default, shown with always_show)

Adds an `always_show` setting (off by default) that keeps the header search
bar visible on mobile and in topics after the topic title docks into the
header. Default behaviour is unchanged.
@Grubba27
Grubba27 merged commit 3958f99 into main Nov 12, 2026
5 checks passed
@Grubba27
Grubba27 deleted the always-show-setting branch November 12, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants