diff options
Diffstat (limited to 'templates/error.tmpl')
-rw-r--r-- | templates/error.tmpl | 11 |
1 files changed, 7 insertions, 4 deletions
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)}} <div class="page-title"> Error </div> + <div class="error-text"> {{.Error}} </div> <div> -<a href="/timeline/home">Home</a> -<a href="/signin">Sign In</a> + <a href="/timeline/home">Home</a> + <a href="/signin">Sign In</a> </div> -{{template "footer.tmpl"}} +{{template "footer.tmpl"}} +{{end}} |