diff options
Diffstat (limited to 'templates/config.qtpl')
-rw-r--r-- | templates/config.qtpl | 16 |
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 %} |