diff --git a/content/en/content-management/related.md b/content/en/content-management/related.md index 8c18052fd..cae9834e9 100644 --- a/content/en/content-management/related.md +++ b/content/en/content-management/related.md @@ -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.