mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 20:14:56 -04:00
parent
99713d44bb
commit
0624ac1982
@ -87,6 +87,9 @@ baseURL
|
|||||||
blackfriday
|
blackfriday
|
||||||
: See [Configure Blackfriday](/getting-started/configuration-markup#blackfriday)
|
: See [Configure Blackfriday](/getting-started/configuration-markup#blackfriday)
|
||||||
|
|
||||||
|
build
|
||||||
|
: See [Configure Build](#configure-build)
|
||||||
|
|
||||||
buildDrafts (false)
|
buildDrafts (false)
|
||||||
: Include drafts when building.
|
: Include drafts when building.
|
||||||
|
|
||||||
@ -288,6 +291,21 @@ enableemoji: true
|
|||||||
```
|
```
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
|
||||||
|
## Configure Build
|
||||||
|
|
||||||
|
{{< new-in "0.66.0" >}}
|
||||||
|
|
||||||
|
The `build` configuration section contains global build-realated configuration options.
|
||||||
|
|
||||||
|
{{< code-toggle file="config">}}
|
||||||
|
[build]
|
||||||
|
useResourceCacheWhen="fallback"
|
||||||
|
{{< /code-toggle >}}
|
||||||
|
|
||||||
|
|
||||||
|
useResourceCacheWhen
|
||||||
|
: When to use the cached resources in `/resources/_gen` for PostCSS and ToCSS. Valid values are `never`, `always` and `fallback`. The last value means that the cache will be tried if PostCSS/extended version is not available.
|
||||||
|
|
||||||
## Configure Title Case
|
## Configure Title Case
|
||||||
|
|
||||||
Set `titleCaseStyle` to specify the title style used by the [title](/functions/title/) template function and the automatic section titles in Hugo. It defaults to [AP Stylebook](https://www.apstylebook.com/) for title casing, but you can also set it to `Chicago` or `Go` (every word starts with a capital letter).
|
Set `titleCaseStyle` to specify the title style used by the [title](/functions/title/) template function and the automatic section titles in Hugo. It defaults to [AP Stylebook](https://www.apstylebook.com/) for title casing, but you can also set it to `Chicago` or `Go` (every word starts with a capital letter).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user