mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
Add Related fragments config
This commit is contained in:
1 file changed
+11
-1
@@ -65,7 +65,17 @@ disableAliases = true
|
|||||||
toLower = false
|
toLower = false
|
||||||
[[related.indices]]
|
[[related.indices]]
|
||||||
name = "keywords"
|
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]]
|
[[related.indices]]
|
||||||
name = "date"
|
name = "date"
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|||||||
Reference in new issue
Block a user