diff --git a/docs/content/templates/functions.md b/docs/content/templates/functions.md
index 8ffa1829d..18c8b3aed 100644
--- a/docs/content/templates/functions.md
+++ b/docs/content/templates/functions.md
@@ -161,7 +161,7 @@ e.g.
{{ $page_link := .Permalink }}
{{ $tags := .Params.tags }}
- {{ range .Site.Recent }}
+ {{ range .Site.Pages }}
{{ $page := . }}
{{ $has_common_tags := intersect $tags .Params.tags | len | lt 0 }}
{{ if and $has_common_tags (ne $page_link $page.Permalink) }}
@@ -259,7 +259,7 @@ e.g.
series: golang
+++
- {{ range where .Site.Recent "Params.series" "golang" }}
+ {{ range where .Site.Pages "Params.series" "golang" }}
{{ .Content }}
{{ end }}
diff --git a/docs/content/templates/go-templates.md b/docs/content/templates/go-templates.md
index e66af25f1..90a2d4111 100644
--- a/docs/content/templates/go-templates.md
+++ b/docs/content/templates/go-templates.md
@@ -382,7 +382,7 @@ so, such as in this example:
```