Update related.md

This commit is contained in:
Bjørn Erik Pedersen
2020-07-26 11:27:24 +02:00
committed by GitHub
parent 4887563f6b
commit 33abeb4fef
+2 -2
View File
@@ -72,7 +72,7 @@ Hugo provides a sensible default configuration of Related Content, but you can f
Without any `related` configuration set on the project, Hugo's Related Content methods will use the following.
```yaml
{{< code-toggle file="config" >}}
related:
threshold: 80
includeNewer: false
@@ -82,7 +82,7 @@ related:
weight: 100
- name: date
weight: 10
```
{{< code-toggle file="config" >}}
Custom configuration should be set using the same syntax.