Improve the related content config
This commit is contained in:
parent
5f3fc127f6
commit
56312ba2c3
2 changed files with 18 additions and 2 deletions
18
config.yaml
18
config.yaml
|
@ -256,7 +256,21 @@ related:
|
|||
pattern: ""
|
||||
toLower: false
|
||||
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
|
||||
cardinalityThreshold: 0
|
||||
name: characters
|
||||
|
@ -264,5 +278,5 @@ related:
|
|||
toLower: false
|
||||
type: basic
|
||||
weight: 80
|
||||
threshold: 9
|
||||
threshold: 50
|
||||
toLower: false
|
||||
|
|
|
@ -85,6 +85,8 @@
|
|||
{{ if in .File.Dir "blog" }}
|
||||
{{ partial "voting" . }}
|
||||
|
||||
{{ partial "related" . }}
|
||||
|
||||
{{ partial "comments" . }}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue