From 55987a4c1bd7364eba7438e7326a76a9a550b668 Mon Sep 17 00:00:00 2001 From: r Date: Tue, 14 Jan 2020 16:57:16 +0000 Subject: Refactor renderer and templates --- templates/signin.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/signin.tmpl') diff --git a/templates/signin.tmpl b/templates/signin.tmpl index 5dd03f6..a199948 100644 --- a/templates/signin.tmpl +++ b/templates/signin.tmpl @@ -1,4 +1,5 @@ -{{template "header.tmpl" .HeaderData}} +{{with .Data}} +{{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
Signin
@@ -8,3 +9,4 @@
{{template "footer.tmpl"}} +{{end}} -- cgit v1.2.3