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