diff --git a/config/_default/params.toml b/config/_default/params.toml index 5b920ab5..f90e7fdb 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -24,7 +24,7 @@ disableImageOptimization = false # smartTOCHideUnfocusedChildren = true [header] - layout = "basic" # valid options: basic, fixed + layout = "basic" # valid options: basic, fixed, fixed-fill [footer] showMenu = true diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 3b25e6c8..1fe7c009 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -24,7 +24,7 @@ smartTOC = true smartTOCHideUnfocusedChildren = true [header] - layout = "fixed" # valid options: basic, fixed + layout = "fixed-fill" # valid options: basic, fixed, fixed-fill [footer] showMenu = true diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 167b5990..ad9e1e97 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -154,7 +154,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | Name | Default | Description | | --------------- | --------- | --------------------------------------------------------------------------------- | -| `header.layout` | `"basic"` | Defines the header for the entire site, supported values are `basic` and `fixed`. | +| `header.layout` | `"basic"` | Defines the header for the entire site, supported values are `basic`, `fixed`, and `fixed-fill`. | ### Footer | Name | Default | Description | diff --git a/layouts/partials/header/fixed-fill.html b/layouts/partials/header/fixed-fill.html new file mode 100644 index 00000000..4d73a1f4 --- /dev/null +++ b/layouts/partials/header/fixed-fill.html @@ -0,0 +1,6 @@ +
+