1// Code generated by qtc from "about.qtpl". DO NOT EDIT.
2// See https://github.com/valyala/quicktemplate for details.
3
4//line templates/about.qtpl:1
5package templates
6
7//line templates/about.qtpl:1
8import "context"
9
10//line templates/about.qtpl:3
11import (
12 qtio422016 "io"
13
14 qt422016 "github.com/valyala/quicktemplate"
15)
16
17//line templates/about.qtpl:3
18var (
19 _ = qtio422016.Copy
20 _ = qt422016.AcquireByteBuffer
21)
22
23//line templates/about.qtpl:4
24type AboutPage struct {
25 LoggedIn bool
26 Body []byte
27}
28
29//line templates/about.qtpl:10
30func (p *AboutPage) StreamTitle(qw422016 *qt422016.Writer, ctx context.Context) {
31//line templates/about.qtpl:10
32 qw422016.N().S(`Hello`)
33//line templates/about.qtpl:10
34}
35
36//line templates/about.qtpl:10
37func (p *AboutPage) WriteTitle(qq422016 qtio422016.Writer, ctx context.Context) {
38//line templates/about.qtpl:10
39 qw422016 := qt422016.AcquireWriter(qq422016)
40//line templates/about.qtpl:10
41 p.StreamTitle(qw422016, ctx)
42//line templates/about.qtpl:10
43 qt422016.ReleaseWriter(qw422016)
44//line templates/about.qtpl:10
45}
46
47//line templates/about.qtpl:10
48func (p *AboutPage) Title(ctx context.Context) string {
49//line templates/about.qtpl:10
50 qb422016 := qt422016.AcquireByteBuffer()
51//line templates/about.qtpl:10
52 p.WriteTitle(qb422016, ctx)
53//line templates/about.qtpl:10
54 qs422016 := string(qb422016.B)
55//line templates/about.qtpl:10
56 qt422016.ReleaseByteBuffer(qb422016)
57//line templates/about.qtpl:10
58 return qs422016
59//line templates/about.qtpl:10
60}
61
62//line templates/about.qtpl:12
63func (p *AboutPage) StreamNavbar(qw422016 *qt422016.Writer, ctx context.Context) {
64//line templates/about.qtpl:12
65 StreamNavbar(qw422016, ctx, About)
66//line templates/about.qtpl:12
67}
68
69//line templates/about.qtpl:12
70func (p *AboutPage) WriteNavbar(qq422016 qtio422016.Writer, ctx context.Context) {
71//line templates/about.qtpl:12
72 qw422016 := qt422016.AcquireWriter(qq422016)
73//line templates/about.qtpl:12
74 p.StreamNavbar(qw422016, ctx)
75//line templates/about.qtpl:12
76 qt422016.ReleaseWriter(qw422016)
77//line templates/about.qtpl:12
78}
79
80//line templates/about.qtpl:12
81func (p *AboutPage) Navbar(ctx context.Context) string {
82//line templates/about.qtpl:12
83 qb422016 := qt422016.AcquireByteBuffer()
84//line templates/about.qtpl:12
85 p.WriteNavbar(qb422016, ctx)
86//line templates/about.qtpl:12
87 qs422016 := string(qb422016.B)
88//line templates/about.qtpl:12
89 qt422016.ReleaseByteBuffer(qb422016)
90//line templates/about.qtpl:12
91 return qs422016
92//line templates/about.qtpl:12
93}
94
95//line templates/about.qtpl:14
96func (p *AboutPage) StreamContent(qw422016 *qt422016.Writer, ctx context.Context) {
97//line templates/about.qtpl:14
98 qw422016.N().S(`
99`)
100//line templates/about.qtpl:15
101 qw422016.N().Z(p.Body)
102//line templates/about.qtpl:15
103 qw422016.N().S(`
104`)
105//line templates/about.qtpl:16
106}
107
108//line templates/about.qtpl:16
109func (p *AboutPage) WriteContent(qq422016 qtio422016.Writer, ctx context.Context) {
110//line templates/about.qtpl:16
111 qw422016 := qt422016.AcquireWriter(qq422016)
112//line templates/about.qtpl:16
113 p.StreamContent(qw422016, ctx)
114//line templates/about.qtpl:16
115 qt422016.ReleaseWriter(qw422016)
116//line templates/about.qtpl:16
117}
118
119//line templates/about.qtpl:16
120func (p *AboutPage) Content(ctx context.Context) string {
121//line templates/about.qtpl:16
122 qb422016 := qt422016.AcquireByteBuffer()
123//line templates/about.qtpl:16
124 p.WriteContent(qb422016, ctx)
125//line templates/about.qtpl:16
126 qs422016 := string(qb422016.B)
127//line templates/about.qtpl:16
128 qt422016.ReleaseByteBuffer(qb422016)
129//line templates/about.qtpl:16
130 return qs422016
131//line templates/about.qtpl:16
132}
133
134//line templates/about.qtpl:18
135func (p *AboutPage) StreamScript(qw422016 *qt422016.Writer, ctx context.Context) {
136//line templates/about.qtpl:18
137 qw422016.N().S(`
138`)
139//line templates/about.qtpl:19
140}
141
142//line templates/about.qtpl:19
143func (p *AboutPage) WriteScript(qq422016 qtio422016.Writer, ctx context.Context) {
144//line templates/about.qtpl:19
145 qw422016 := qt422016.AcquireWriter(qq422016)
146//line templates/about.qtpl:19
147 p.StreamScript(qw422016, ctx)
148//line templates/about.qtpl:19
149 qt422016.ReleaseWriter(qw422016)
150//line templates/about.qtpl:19
151}
152
153//line templates/about.qtpl:19
154func (p *AboutPage) Script(ctx context.Context) string {
155//line templates/about.qtpl:19
156 qb422016 := qt422016.AcquireByteBuffer()
157//line templates/about.qtpl:19
158 p.WriteScript(qb422016, ctx)
159//line templates/about.qtpl:19
160 qs422016 := string(qb422016.B)
161//line templates/about.qtpl:19
162 qt422016.ReleaseByteBuffer(qb422016)
163//line templates/about.qtpl:19
164 return qs422016
165//line templates/about.qtpl:19
166}