summaryrefslogtreecommitdiffstats
path: root/docs/content/en/_common/methods/page
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/_common/methods/page')
-rw-r--r--docs/content/en/_common/methods/page/next-and-prev.md4
-rw-r--r--docs/content/en/_common/methods/page/nextinsection-and-previnsection.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/en/_common/methods/page/next-and-prev.md b/docs/content/en/_common/methods/page/next-and-prev.md
index f859961a4..27b069ddc 100644
--- a/docs/content/en/_common/methods/page/next-and-prev.md
+++ b/docs/content/en/_common/methods/page/next-and-prev.md
@@ -32,13 +32,13 @@ content/
And these templates:
-```go-html-template {file="layouts/_default/list.html"}
+```go-html-template {file="layouts/section.html"}
{{ range .Pages.ByWeight }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
```
-```go-html-template {file="layouts/_default/single.html"}
+```go-html-template {file="layouts/page.html"}
{{ with .Prev }}
<a href="{{ .RelPermalink }}">Previous</a>
{{ end }}
diff --git a/docs/content/en/_common/methods/page/nextinsection-and-previnsection.md b/docs/content/en/_common/methods/page/nextinsection-and-previnsection.md
index 54d240eb4..005953324 100644
--- a/docs/content/en/_common/methods/page/nextinsection-and-previnsection.md
+++ b/docs/content/en/_common/methods/page/nextinsection-and-previnsection.md
@@ -32,13 +32,13 @@ content/
And these templates:
-```go-html-template {file="layouts/_default/list.html"}
+```go-html-template {file="layouts/section.html"}
{{ range .Pages.ByWeight }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}
```
-```go-html-template {file="layouts/_default/single.html"}
+```go-html-template {file="layouts/page.html"}
{{ with .PrevInSection }}
<a href="{{ .RelPermalink }}">Previous</a>
{{ end }}