mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-02 03:32:38 +00:00
Update related.md
This commit is contained in:
committed by
GitHub
parent
4887563f6b
commit
33abeb4fef
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user