Skip to content

feat(theme): honour Material's hide front matter - #60

Merged
XtremeOwnageDotCom merged 1 commit into
mainfrom
feat/hide-theme-chrome
Sep 3, 2026
Merged

feat(theme): honour Material's hide front matter#60
XtremeOwnageDotCom merged 1 commit into
mainfrom
feat/hide-theme-chrome

Conversation

@XtremeOwnageDotCom

Copy link
Copy Markdown
Contributor

Adds page-level opt-out for theme chrome via 'hide:' front matter, matching Material for MkDocs. Supports toc, nav and path; a single scalar is accepted alongside a list, and matching is case-insensitive.

Wide auto-generated tables were the motivating case: the table-of-contents column squeezes them for no benefit on a page whose headings are a single H1.

The page-metadata reference previously described 'hide' as the awesome-pages 'hide: true' folder toggle, which is a separate mechanism read from a directory's .pages file; both are now documented.

Adds page-level opt-out for theme chrome via 'hide:' front matter, matching Material for MkDocs. Supports toc, nav and path; a single scalar is accepted alongside a list, and matching is case-insensitive.

Wide auto-generated tables were the motivating case: the table-of-contents column squeezes them for no benefit on a page whose headings are a single H1.

The page-metadata reference previously described 'hide' as the awesome-pages 'hide: true' folder toggle, which is a separate mechanism read from a directory's .pages file; both are now documented.
@XtremeOwnageDotCom
XtremeOwnageDotCom merged commit 8ad139d into main Sep 3, 2026
1 check passed
@XtremeOwnageDotCom
XtremeOwnageDotCom deleted the feat/hide-theme-chrome branch September 3, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant