From 242ba7f412d4e54f21385afff3f2b884f57f6ced Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 30 May 2024 15:06:28 +0200 Subject: feat: Add navbar selection --- templates/about.qtpl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 templates/about.qtpl (limited to 'templates/about.qtpl') 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 %} -- cgit v1.2.3