diff --git a/content/en/methods/page/Sites.md b/content/en/methods/page/Sites.md index ce409a9ba..cd240655e 100644 --- a/content/en/methods/page/Sites.md +++ b/content/en/methods/page/Sites.md @@ -55,7 +55,7 @@ Produces a list of links to each home page: To render a link to the home page of the site corresponding to the default content language: ```go-html-template -{{ with .Sites.First }} +{{ with .Sites.Default }} {{ .Title }} {{ end }} ``` diff --git a/content/en/methods/site/Sites.md b/content/en/methods/site/Sites.md index caa9ae1c2..ac287d3b4 100644 --- a/content/en/methods/site/Sites.md +++ b/content/en/methods/site/Sites.md @@ -52,7 +52,7 @@ Produces a list of links to each home page: To render a link to the home page of the site corresponding to the default content language: ```go-html-template -{{ with .Site.Sites.First }} +{{ with .Site.Sites.Default }} {{ .Title }} {{ end }} ```