aboutsummaryrefslogtreecommitdiff
path: root/templates/about.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 15:06:28 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-05-30 15:06:28 +0200
commit242ba7f412d4e54f21385afff3f2b884f57f6ced (patch)
tree574b05ad544b0473f53a66d474591751989add94 /templates/about.qtpl
parent2dd4cf35aab8324608a83d337459fd8354521b92 (diff)
downloadcerrado-242ba7f412d4e54f21385afff3f2b884f57f6ced.tar.gz
cerrado-242ba7f412d4e54f21385afff3f2b884f57f6ced.tar.bz2
cerrado-242ba7f412d4e54f21385afff3f2b884f57f6ced.zip
feat: Add navbar selection
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 %}