diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-05-22 16:47:07 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-05-22 16:47:07 +0200 |
commit | b95e15694006a16eee41024be88615bda62041cf (patch) | |
tree | 3f880d5bc78eaed5b549a50c6cdd219d57e3ac83 /docs/hugo.toml | |
parent | 4cac5f5e306b6c301258eb9936094eb910264c9a (diff) | |
parent | f96384a3b596f9bc0a3a035970b09b2c601f0ccb (diff) |
Merge commit 'f96384a3b596f9bc0a3a035970b09b2c601f0ccb'
Diffstat (limited to 'docs/hugo.toml')
-rw-r--r-- | docs/hugo.toml | 12 |
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 |