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/error.tmpl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'templates/error.tmpl') diff --git a/templates/error.tmpl b/templates/error.tmpl index 2049665..0d6115a 100644 --- a/templates/error.tmpl +++ b/templates/error.tmpl @@ -1,9 +1,12 @@ -{{template "header.tmpl" .HeaderData}} +{{with .Data}} +{{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
Error
+
{{.Error}}
-Home -Sign In + Home + Sign In
-{{template "footer.tmpl"}} +{{template "footer.tmpl"}} +{{end}} -- cgit v1.2.3