aboutsummaryrefslogtreecommitdiff
path: root/templates/settings.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/settings.tmpl')
-rw-r--r--templates/settings.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/settings.tmpl b/templates/settings.tmpl
index 06e2a9a..a32a1b0 100644
--- a/templates/settings.tmpl
+++ b/templates/settings.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"> Settings </div>
<form id="settings-form" action="/settings" method="POST">
@@ -36,3 +37,4 @@
</form>
{{template "footer.tmpl"}}
+{{end}}