cerrado @ 306a8cdf6fac4e3ec2bfeda6c9952f603a5577e1

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