mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-11 12:19:01 +00:00
Add Related fragments config
This commit is contained in:
1 file changed
+11
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user