mirror of
https://github.com/Xevion/glance.git
synced 2025-12-07 16:07:18 -06:00
Allow hiding desktop navigation
This commit is contained in:
@@ -265,6 +265,7 @@ pages:
|
||||
| title | string | yes | |
|
||||
| slug | string | no | |
|
||||
| width | string | no | |
|
||||
| hide-desktop-navigation | boolean | no | false |
|
||||
| show-mobile-header | boolean | no | false |
|
||||
| columns | array | yes | |
|
||||
|
||||
@@ -286,6 +287,9 @@ The maximum width of the page on desktop. Possible values are `slim` and `wide`.
|
||||
> When using `slim`, the maximum number of columns allowed for that page is `2`.
|
||||
|
||||
|
||||
#### `hide-desktop-navigation`
|
||||
Whether to show the navigation links at the top of the page on desktop.
|
||||
|
||||
#### `show-mobile-header`
|
||||
Whether to show a header displaying the name of the page on mobile. The header purposefully has a lot of vertical whitespace in order to push the content down and make it easier to reach on tall devices.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user