Update related.md

This commit is contained in:
Bjørn Erik Pedersen authored and GitHub committed 2020-07-26 11:27:24 +02:00
1 parent 4887563f6b
commit 33abeb4fef
1 file changed
+2 -2
+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. Without any `related` configuration set on the project, Hugo's Related Content methods will use the following.
```yaml {{< code-toggle file="config" >}}
related: related:
threshold: 80 threshold: 80
includeNewer: false includeNewer: false
@@ -82,7 +82,7 @@ related:
weight: 100 weight: 100
- name: date - name: date
weight: 10 weight: 10
``` {{< code-toggle file="config" >}}
Custom configuration should be set using the same syntax. Custom configuration should be set using the same syntax.