mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Merge commit 'da3c3e5fbd0de65f956618cd2e35401460a3cd02'
This commit is contained in:
commit
30748decf1
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ If true, the page will be treated as a published page, holding its dedicated out
|
||||||
|
|
||||||
#### list
|
#### list
|
||||||
|
|
||||||
Note that we extended this property from a boolean to an enum in Hugo 0.58.0.
|
Note that we extended this property from a boolean to an enum in Hugo 0.68.0.
|
||||||
|
|
||||||
Valid values are:
|
Valid values are:
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ always (default)
|
||||||
: The page will be included in all page collections, e.g. `site.RegularPages`, `$page.Pages`.
|
: The page will be included in all page collections, e.g. `site.RegularPages`, `$page.Pages`.
|
||||||
|
|
||||||
local
|
local
|
||||||
: The page will be included in any _local_ page collection, e.g. `$page.RegularPages`, `$page.Pages`. One use case for this would be to create fully navigable, but headless content sections. {{< new-in "0.58.0" >}}
|
: The page will be included in any _local_ page collection, e.g. `$page.RegularPages`, `$page.Pages`. One use case for this would be to create fully navigable, but headless content sections. {{< new-in "0.68.0" >}}
|
||||||
|
|
||||||
If true, the page will be treated as part of the project's collections and, when appropriate, returned by Hugo's listing methods (`.Pages`, `.RegularPages` etc...).
|
If true, the page will be treated as part of the project's collections and, when appropriate, returned by Hugo's listing methods (`.Pages`, `.RegularPages` etc...).
|
||||||
|
|
||||||
|
|
|
@ -329,7 +329,7 @@ Referrer-Policy = "strict-origin-when-cross-origin"
|
||||||
Content-Security-Policy = "script-src localhost:1313"
|
Content-Security-Policy = "script-src localhost:1313"
|
||||||
{{< /code-toggle >}}
|
{{< /code-toggle >}}
|
||||||
|
|
||||||
Since this is is "devlopment only", it may make sense to put it below the `development` environment:
|
Since this is is "development only", it may make sense to put it below the `development` environment:
|
||||||
|
|
||||||
|
|
||||||
{{< code-toggle file="config/development/server">}}
|
{{< code-toggle file="config/development/server">}}
|
||||||
|
|
Loading…
Reference in a new issue