summaryrefslogtreecommitdiffstats
path: root/docs/hugo.toml
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-10-20 09:43:56 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-10-20 09:43:56 +0200
commite2dd4cd05fa96a08d49b3b198edf0ccf9a94970e (patch)
tree712334f7e7a657155706f556040575bea9b7757f /docs/hugo.toml
parentfd381718101a35a5f5f92d5a05b3a0c36ef50db0 (diff)
parente509cac533600cf4fa8382c9cdab78ddd82db688 (diff)
Diffstat (limited to 'docs/hugo.toml')
-rw-r--r--docs/hugo.toml12
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/hugo.toml b/docs/hugo.toml
index 987026d0c..46486aec9 100644
--- a/docs/hugo.toml
+++ b/docs/hugo.toml
@@ -3,7 +3,6 @@
baseURL = "https://gohugo.io/"
defaultContentLanguage = "en"
enableEmoji = true
-googleAnalytics = "G-MBZGKNMDWC"
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
languageCode = "en-us"
paginate = 100
@@ -14,6 +13,9 @@ title = "Hugo"
# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
disableAliases = true
+[services.googleAnalytics]
+ID = 'G-MBZGKNMDWC'
+
[minify]
[minify.tdewolff]
[minify.tdewolff.html]
@@ -67,6 +69,10 @@ disableAliases = true
includeNewer = true
toLower = false
[[related.indices]]
+ toLower = true
+ name = "relatedFunctions"
+ weight = 60
+ [[related.indices]]
name = "keywords"
weight = 60
[[related.indices]]
@@ -79,10 +85,6 @@ disableAliases = true
applyFilter = false
weight = 60
cardinalityThreshold = 50
- [[related.indices]]
- name = "date"
- weight = 10
- pattern = "2006"
[social]
twitter = "GoHugoIO"