aboutsummaryrefslogtreecommitdiff
path: root/templates/about.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/about.tmpl')
-rw-r--r--templates/about.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/about.tmpl b/templates/about.tmpl
index 60bb5f6..b3c9a49 100644
--- a/templates/about.tmpl
+++ b/templates/about.tmpl
@@ -1,5 +1,6 @@
-{{template "header.tmpl" .HeaderData}}
-{{template "navigation.tmpl" .NavbarData}}
+{{with .Data}}
+{{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
+{{template "navigation.tmpl" (WithContext .NavbarData $.Ctx)}}
<div class="page-title"> About </div>
<div>
@@ -15,4 +16,5 @@
</div>
{{template "footer.tmpl"}}
+{{end}}