summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/go-template/block.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/go-template/block.md')
-rw-r--r--docs/content/en/functions/go-template/block.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/en/functions/go-template/block.md b/docs/content/en/functions/go-template/block.md
index bffab1f8c..383a3d72e 100644
--- a/docs/content/en/functions/go-template/block.md
+++ b/docs/content/en/functions/go-template/block.md
@@ -23,7 +23,7 @@ and then executing it in place:
```
The typical use is to define a set of root templates that are then customized by redefining the block templates within.
-```go-html-template {file="layouts/_default/baseof.html"}
+```go-html-template {file="layouts/baseof.html"}
<body>
<main>
{{ block "main" . }}
@@ -33,14 +33,14 @@ The typical use is to define a set of root templates that are then customized by
</body>
```
-```go-html-template {file="layouts/_default/single.html"}
+```go-html-template {file="layouts/page.html"}
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ end }}
```
-```go-html-template {file="layouts/_default/list.html"}
+```go-html-template {file="layouts/section.html"}
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}