aboutsummaryrefslogtreecommitdiff
path: root/templates/error.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/error.qtpl')
-rw-r--r--templates/error.qtpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/error.qtpl b/templates/error.qtpl
new file mode 100644
index 0000000..771d533
--- /dev/null
+++ b/templates/error.qtpl
@@ -0,0 +1,16 @@
+{% code
+type ErrorPage struct {
+ Message string
+}
+%}
+
+{% func (p *ErrorPage) Title() %}Error{% endfunc %}
+
+{% func (p *ErrorPage) Navbar() %}{%= Navbar(Git) %}{% endfunc %}
+
+{% func (p *ErrorPage) Content() %}
+{%s p.Message %}
+{% endfunc %}
+
+{% func (p *ErrorPage) Script() %}
+{% endfunc %}