summaryrefslogtreecommitdiffstats
path: root/docs/hugo.toml
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-05-22 16:47:07 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-05-22 16:47:07 +0200
commitb95e15694006a16eee41024be88615bda62041cf (patch)
tree3f880d5bc78eaed5b549a50c6cdd219d57e3ac83 /docs/hugo.toml
parent4cac5f5e306b6c301258eb9936094eb910264c9a (diff)
parentf96384a3b596f9bc0a3a035970b09b2c601f0ccb (diff)
Diffstat (limited to 'docs/hugo.toml')
-rw-r--r--docs/hugo.toml12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/hugo.toml b/docs/hugo.toml
index da6bd9534..5bed0ab2b 100644
--- a/docs/hugo.toml
+++ b/docs/hugo.toml
@@ -65,7 +65,17 @@ disableAliases = true
toLower = false
[[related.indices]]
name = "keywords"
- weight = 100
+ weight = 60
+ [[related.indices]]
+ # Can be used as a front matter slice to link to other page fragments (headings) using their ID.
+ # This isn't particular useful in the current docs, but we're planning on getting a auto generated
+ # reference section with a better ID setup.
+ # For now, we just use it to give pages with same headings some similarity score.
+ name = "fragmentrefs"
+ type = "fragments"
+ applyFilter = false
+ weight = 60
+ cardinalityThreshold = 50
[[related.indices]]
name = "date"
weight = 10