Wrap cache configuration in code-toggle

This commit is contained in:
Regis Philibert 2020-07-06 10:15:27 -04:00
parent 914405c0ef
commit 5957d8815d

View File

@ -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`.