aboutsummaryrefslogtreecommitdiff
path: root/templates/about.qtpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/about.qtpl')
-rw-r--r--templates/about.qtpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/about.qtpl b/templates/about.qtpl
new file mode 100644
index 0000000..faee50e
--- /dev/null
+++ b/templates/about.qtpl
@@ -0,0 +1,16 @@
+{% code
+type AboutPage struct {
+ Body []byte
+}
+%}
+
+{% func (p *AboutPage) Title() %}Hello{% endfunc %}
+
+{% func (p *AboutPage) Navbar() %}{%= Navbar(About) %}{% endfunc %}
+
+{% func (p *AboutPage) Content() %}
+{%z= p.Body %}
+{% endfunc %}
+
+{% func (p *AboutPage) Script() %}
+{% endfunc %}