diff --git a/docs/configuration.md b/docs/configuration.md index 9a2bfce..0cd44cf 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -315,6 +315,7 @@ pages: | width | string | no | | | center-vertically | boolean | no | false | | hide-desktop-navigation | boolean | no | false | +| expand-mobile-page-navigation | boolean | no | false | | show-mobile-header | boolean | no | false | | columns | array | yes | | @@ -341,6 +342,9 @@ When set to `true`, vertically centers the content on the page. Has no effect if #### `hide-desktop-navigation` Whether to show the navigation links at the top of the page on desktop. +#### `expand-mobile-page-navigation` +Whether the mobile page navigation should be expanded by default. + #### `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. diff --git a/internal/assets/templates/page.html b/internal/assets/templates/page.html index 18d8b85..e452dde 100644 --- a/internal/assets/templates/page.html +++ b/internal/assets/templates/page.html @@ -46,7 +46,7 @@ {{ range $i, $column := .Page.Columns }} {{ end }} - +