diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-03-26 18:41:36 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-03-26 18:41:36 +0100 |
commit | 876e5f67b14a3707b757fd008bbcc7792057c69d (patch) | |
tree | f0aa763b744e78ad6f558e2ceff30984f991a538 /docs/config | |
parent | 9bc6187b8337c4a370bd3f21130a764d9ef6f7b3 (diff) | |
parent | c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53 (diff) |
Merge commit 'c2037f0c9a3a35b9db9c404f6b5f94ec8b690a53'
Diffstat (limited to 'docs/config')
-rw-r--r-- | docs/config/_default/config.toml | 19 | ||||
-rw-r--r-- | docs/config/production/params.toml | 4 |
2 files changed, 17 insertions, 6 deletions
diff --git a/docs/config/_default/config.toml b/docs/config/_default/config.toml index 60ab99804..30764b5f9 100644 --- a/docs/config/_default/config.toml +++ b/docs/config/_default/config.toml @@ -1,5 +1,5 @@ baseURL = "https://gohugo.io/" -paginate = 100 +paginate = 100 defaultContentLanguage = "en" enableEmoji = true # Set the unicode character used for the "return" link in page footnotes. @@ -48,6 +48,21 @@ baseName = "_headers" isPlainText = true notAlternative = true +[caches] +[caches.getjson] +dir = ":cacheDir/:project" +maxAge = -1 +[caches.getcsv] +dir = ":cacheDir/:project" +maxAge = -1 +[caches.images] +dir = ":resourceDir/_gen" +maxAge = -1 +[caches.assets] +dir = ":resourceDir/_gen" +maxAge = -1 + + [related] threshold = 80 @@ -58,7 +73,7 @@ toLower = false name = "keywords" weight = 100 [[related.indices]] -name = "date" +name = "date" weight = 10 pattern = "2006" diff --git a/docs/config/production/params.toml b/docs/config/production/params.toml index ffca3f11b..d0071fe65 100644 --- a/docs/config/production/params.toml +++ b/docs/config/production/params.toml @@ -1,6 +1,2 @@ # Params for production -# This is turned off in development as it is relatively slow. -# This is needed to get accurate lastMod and Git commit info -# on the docs pages. -enableGitInfo = true |