summaryrefslogtreecommitdiffstats
path: root/docs/content/en/content-management/related.md
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-05-27 17:02:23 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-05-27 17:02:23 +0200
commita838a27e4c82626f9b3227e02a157119673e5dcf (patch)
tree9d220eadc3fcaedfd77be3fa466fec14e038cfd1 /docs/content/en/content-management/related.md
parent273d9f69a6cb46ce632b340ebb1191e2e083323b (diff)
parentd3927310d5b2404c3238f9b899db3329ea516490 (diff)
Diffstat (limited to 'docs/content/en/content-management/related.md')
-rw-r--r--docs/content/en/content-management/related.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/content-management/related.md b/docs/content/en/content-management/related.md
index 823e3035c..e80c0f06b 100644
--- a/docs/content/en/content-management/related.md
+++ b/docs/content/en/content-management/related.md
@@ -66,7 +66,7 @@ We improved and simplified this feature in Hugo 0.111.0. Before this we had 3 di
Hugo can index the headings in your content and use this to find related content. You can enable this by adding a index of type `fragments` to your `related` configuration:
-{{< code-toggle file="config" copy=false >}}
+{{< code-toggle file="hugo" copy=false >}}
[related]
threshold = 20
includeNewer = true
@@ -113,7 +113,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.
-{{< code-toggle file="config" >}}
+{{< code-toggle file="hugo" >}}
related:
threshold: 80
includeNewer: false