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: Since Hugo 0.52 you can configure more than just the `cacheDir`. This is the default configuration:
```toml {{< code-toggle >}}
[caches] [caches]
[caches.getjson] [caches.getjson]
dir = ":cacheDir/:project" dir = ":cacheDir/:project"
@ -531,7 +531,7 @@ maxAge = -1
[caches.modules] [caches.modules]
dir = ":cacheDir/modules" dir = ":cacheDir/modules"
maxAge = -1 maxAge = -1
``` {{< /code-toggle >}}
You can override any of these cache settings in your own `config.toml`. You can override any of these cache settings in your own `config.toml`.