mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Wrap cache configuration in code-toggle
This commit is contained in:
@@ -514,7 +514,7 @@ Default configuration:
|
||||
|
||||
Since Hugo 0.52 you can configure more than just the `cacheDir`. This is the default configuration:
|
||||
|
||||
```toml
|
||||
{{< code-toggle >}}
|
||||
[caches]
|
||||
[caches.getjson]
|
||||
dir = ":cacheDir/:project"
|
||||
@@ -531,7 +531,7 @@ maxAge = -1
|
||||
[caches.modules]
|
||||
dir = ":cacheDir/modules"
|
||||
maxAge = -1
|
||||
```
|
||||
{{< /code-toggle >}}
|
||||
|
||||
You can override any of these cache settings in your own `config.toml`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user