Improve the related content config

This commit is contained in:
Joshua Goins 2025-03-17 09:12:55 -04:00
parent 5f3fc127f6
commit 56312ba2c3
2 changed files with 18 additions and 2 deletions

View file

@ -256,7 +256,21 @@ related:
pattern: "" pattern: ""
toLower: false toLower: false
type: basic type: basic
weight: 10 weight: 50
- applyFilter: false
cardinalityThreshold: 0
name: characters
pattern: ""
toLower: false
type: basic
weight: 60
- applyFilter: false
cardinalityThreshold: 0
name: tags
pattern: ""
toLower: false
type: basic
weight: 50
- applyFilter: false - applyFilter: false
cardinalityThreshold: 0 cardinalityThreshold: 0
name: characters name: characters
@ -264,5 +278,5 @@ related:
toLower: false toLower: false
type: basic type: basic
weight: 80 weight: 80
threshold: 9 threshold: 50
toLower: false toLower: false

View file

@ -85,6 +85,8 @@
{{ if in .File.Dir "blog" }} {{ if in .File.Dir "blog" }}
{{ partial "voting" . }} {{ partial "voting" . }}
{{ partial "related" . }}
{{ partial "comments" . }} {{ partial "comments" . }}
{{ end }} {{ end }}