diff options
Diffstat (limited to 'examples/multilingual/layouts/_default/single.html')
-rw-r--r-- | examples/multilingual/layouts/_default/single.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/multilingual/layouts/_default/single.html b/examples/multilingual/layouts/_default/single.html index da3640efe..66e4a3828 100644 --- a/examples/multilingual/layouts/_default/single.html +++ b/examples/multilingual/layouts/_default/single.html @@ -1,4 +1,4 @@ -{{ template "chrome/head.html" . }}
-{{ template "chrome/header.html" . }}
-{{ .Content }}
-{{ template "chrome/footer.html" . }}
\ No newline at end of file +{{ partial "head.html" . }}
+{{ partial "header.html" . }}
+{{ if .IsPage }}{{ .Content }}{{ end }}
+{{ partial "footer.html" . }}
|