Merge commit 'cb39847dee488c373dd5bc2a3706385342a59355'

This commit is contained in:
Bjørn Erik Pedersen
2020-08-14 18:31:40 +02:00
15 changed files with 34 additions and 29 deletions

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 >}}
Custom configuration should be set using the same syntax.