aboutsummaryrefslogtreecommitdiff
path: root/templates/about.qtpl.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates/about.qtpl.go')
-rw-r--r--templates/about.qtpl.go162
1 files changed, 162 insertions, 0 deletions
diff --git a/templates/about.qtpl.go b/templates/about.qtpl.go
new file mode 100644
index 0000000..aaa2514
--- /dev/null
+++ b/templates/about.qtpl.go
@@ -0,0 +1,162 @@
+// Code generated by qtc from "about.qtpl". DO NOT EDIT.
+// See https://github.com/valyala/quicktemplate for details.
+
+//line about.qtpl:1
+package templates
+
+//line about.qtpl:1
+import (
+ qtio422016 "io"
+
+ qt422016 "github.com/valyala/quicktemplate"
+)
+
+//line about.qtpl:1
+var (
+ _ = qtio422016.Copy
+ _ = qt422016.AcquireByteBuffer
+)
+
+//line about.qtpl:2
+type AboutPage struct {
+ Body []byte
+}
+
+//line about.qtpl:7
+func (p *AboutPage) StreamTitle(qw422016 *qt422016.Writer) {
+//line about.qtpl:7
+ qw422016.N().S(`Hello`)
+//line about.qtpl:7
+}
+
+//line about.qtpl:7
+func (p *AboutPage) WriteTitle(qq422016 qtio422016.Writer) {
+//line about.qtpl:7
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line about.qtpl:7
+ p.StreamTitle(qw422016)
+//line about.qtpl:7
+ qt422016.ReleaseWriter(qw422016)
+//line about.qtpl:7
+}
+
+//line about.qtpl:7
+func (p *AboutPage) Title() string {
+//line about.qtpl:7
+ qb422016 := qt422016.AcquireByteBuffer()
+//line about.qtpl:7
+ p.WriteTitle(qb422016)
+//line about.qtpl:7
+ qs422016 := string(qb422016.B)
+//line about.qtpl:7
+ qt422016.ReleaseByteBuffer(qb422016)
+//line about.qtpl:7
+ return qs422016
+//line about.qtpl:7
+}
+
+//line about.qtpl:9
+func (p *AboutPage) StreamNavbar(qw422016 *qt422016.Writer) {
+//line about.qtpl:9
+ StreamNavbar(qw422016, About)
+//line about.qtpl:9
+}
+
+//line about.qtpl:9
+func (p *AboutPage) WriteNavbar(qq422016 qtio422016.Writer) {
+//line about.qtpl:9
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line about.qtpl:9
+ p.StreamNavbar(qw422016)
+//line about.qtpl:9
+ qt422016.ReleaseWriter(qw422016)
+//line about.qtpl:9
+}
+
+//line about.qtpl:9
+func (p *AboutPage) Navbar() string {
+//line about.qtpl:9
+ qb422016 := qt422016.AcquireByteBuffer()
+//line about.qtpl:9
+ p.WriteNavbar(qb422016)
+//line about.qtpl:9
+ qs422016 := string(qb422016.B)
+//line about.qtpl:9
+ qt422016.ReleaseByteBuffer(qb422016)
+//line about.qtpl:9
+ return qs422016
+//line about.qtpl:9
+}
+
+//line about.qtpl:11
+func (p *AboutPage) StreamContent(qw422016 *qt422016.Writer) {
+//line about.qtpl:11
+ qw422016.N().S(`
+`)
+//line about.qtpl:12
+ qw422016.N().Z(p.Body)
+//line about.qtpl:12
+ qw422016.N().S(`
+`)
+//line about.qtpl:13
+}
+
+//line about.qtpl:13
+func (p *AboutPage) WriteContent(qq422016 qtio422016.Writer) {
+//line about.qtpl:13
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line about.qtpl:13
+ p.StreamContent(qw422016)
+//line about.qtpl:13
+ qt422016.ReleaseWriter(qw422016)
+//line about.qtpl:13
+}
+
+//line about.qtpl:13
+func (p *AboutPage) Content() string {
+//line about.qtpl:13
+ qb422016 := qt422016.AcquireByteBuffer()
+//line about.qtpl:13
+ p.WriteContent(qb422016)
+//line about.qtpl:13
+ qs422016 := string(qb422016.B)
+//line about.qtpl:13
+ qt422016.ReleaseByteBuffer(qb422016)
+//line about.qtpl:13
+ return qs422016
+//line about.qtpl:13
+}
+
+//line about.qtpl:15
+func (p *AboutPage) StreamScript(qw422016 *qt422016.Writer) {
+//line about.qtpl:15
+ qw422016.N().S(`
+`)
+//line about.qtpl:16
+}
+
+//line about.qtpl:16
+func (p *AboutPage) WriteScript(qq422016 qtio422016.Writer) {
+//line about.qtpl:16
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line about.qtpl:16
+ p.StreamScript(qw422016)
+//line about.qtpl:16
+ qt422016.ReleaseWriter(qw422016)
+//line about.qtpl:16
+}
+
+//line about.qtpl:16
+func (p *AboutPage) Script() string {
+//line about.qtpl:16
+ qb422016 := qt422016.AcquireByteBuffer()
+//line about.qtpl:16
+ p.WriteScript(qb422016)
+//line about.qtpl:16
+ qs422016 := string(qb422016.B)
+//line about.qtpl:16
+ qt422016.ReleaseByteBuffer(qb422016)
+//line about.qtpl:16
+ return qs422016
+//line about.qtpl:16
+}