Add the new page config section

This commit is contained in:
Bjørn Erik Pedersen
2024-08-21 08:54:07 +02:00
parent 205645e973
commit f9062042fd
+12 -1
View File
@@ -378,6 +378,10 @@ Module configuration see [module configuration](/hugo-modules/configuration/).
See [custom output formats].
###### page
See [Page Configuration](#configure-page).
###### pagination
See [configure pagination](/templates/pagination/#configuration).
@@ -496,6 +500,14 @@ enableemoji: true
```
{{% /note %}}
## Configure page
The `page` configuration section contains [page]-related configuration options.
{{< code-toggle config=page />}}
[page]:/methods/page/
## Configure build
The `build` configuration section contains global build-related configuration options.
@@ -922,7 +934,6 @@ output
It is recommended to put coarse grained filters (e.g. for language and output format) in the excludes section, e.g.:
{{< code-toggle file=hugo >}}
[segments.segment1]
[[segments.segment1.excludes]]