mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 19:34:47 -04:00
Merge branch 'feat/related-fragments'
This commit is contained in:
commit
7b11c24cfd
12
hugo.toml
12
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user