From 5957d8815d72cd5a575933ec1ac8fc8774cea2e6 Mon Sep 17 00:00:00 2001 From: Regis Philibert Date: Mon, 6 Jul 2020 10:15:27 -0400 Subject: [PATCH] Wrap cache configuration in code-toggle --- content/en/getting-started/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/getting-started/configuration.md b/content/en/getting-started/configuration.md index ffc11938c..076d9161c 100644 --- a/content/en/getting-started/configuration.md +++ b/content/en/getting-started/configuration.md @@ -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`.