From bf1405d92be404fee86ea5d23fcf0c6b34dfe114 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Mon, 16 Jul 2018 17:42:49 -0400 Subject: [PATCH] Correction: .Pages on homepage is same as .Site.RegularPages Ref: https://github.com/gohugoio/hugoDocs/issues/398#issuecomment-371576088 --- content/en/templates/homepage.md | 2 +- content/en/templates/template-debugging.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/templates/homepage.md b/content/en/templates/homepage.md index 6789bdfc8..48130c39b 100644 --- a/content/en/templates/homepage.md +++ b/content/en/templates/homepage.md @@ -58,7 +58,7 @@ The following is an example of a homepage template that uses [partial][partials] {{.Content}}
- + {{ range first 10 .Pages }} {{ .Render "summary"}} {{ end }} diff --git a/content/en/templates/template-debugging.md b/content/en/templates/template-debugging.md index 442f0f7ad..bba84b9fe 100644 --- a/content/en/templates/template-debugging.md +++ b/content/en/templates/template-debugging.md @@ -58,7 +58,7 @@ When developing a [homepage][], what does one of the pages you're looping throug ``` {{% note "`.Pages` on the Homepage" %}} -`.Pages` on the homepage is equivalent to `.Site.Pages`. +`.Pages` on the homepage is equivalent to `.Site.RegularPages`. {{% /note %}} ## Why Am I Showing No Defined Variables?