// Code generated by qtc from "about.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line templates/about.qtpl:1 package templates //line templates/about.qtpl:1 import "context" //line templates/about.qtpl:3 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/about.qtpl:3 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/about.qtpl:4 type AboutPage struct { LoggedIn bool Body []byte } //line templates/about.qtpl:10 func (p *AboutPage) StreamTitle(qw422016 *qt422016.Writer, ctx context.Context) { //line templates/about.qtpl:10 qw422016.N().S(`Hello`) //line templates/about.qtpl:10 } //line templates/about.qtpl:10 func (p *AboutPage) WriteTitle(qq422016 qtio422016.Writer, ctx context.Context) { //line templates/about.qtpl:10 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/about.qtpl:10 p.StreamTitle(qw422016, ctx) //line templates/about.qtpl:10 qt422016.ReleaseWriter(qw422016) //line templates/about.qtpl:10 } //line templates/about.qtpl:10 func (p *AboutPage) Title(ctx context.Context) string { //line templates/about.qtpl:10 qb422016 := qt422016.AcquireByteBuffer() //line templates/about.qtpl:10 p.WriteTitle(qb422016, ctx) //line templates/about.qtpl:10 qs422016 := string(qb422016.B) //line templates/about.qtpl:10 qt422016.ReleaseByteBuffer(qb422016) //line templates/about.qtpl:10 return qs422016 //line templates/about.qtpl:10 } //line templates/about.qtpl:12 func (p *AboutPage) StreamNavbar(qw422016 *qt422016.Writer, ctx context.Context) { //line templates/about.qtpl:12 StreamNavbar(qw422016, ctx, About) //line templates/about.qtpl:12 } //line templates/about.qtpl:12 func (p *AboutPage) WriteNavbar(qq422016 qtio422016.Writer, ctx context.Context) { //line templates/about.qtpl:12 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/about.qtpl:12 p.StreamNavbar(qw422016, ctx) //line templates/about.qtpl:12 qt422016.ReleaseWriter(qw422016) //line templates/about.qtpl:12 } //line templates/about.qtpl:12 func (p *AboutPage) Navbar(ctx context.Context) string { //line templates/about.qtpl:12 qb422016 := qt422016.AcquireByteBuffer() //line templates/about.qtpl:12 p.WriteNavbar(qb422016, ctx) //line templates/about.qtpl:12 qs422016 := string(qb422016.B) //line templates/about.qtpl:12 qt422016.ReleaseByteBuffer(qb422016) //line templates/about.qtpl:12 return qs422016 //line templates/about.qtpl:12 } //line templates/about.qtpl:14 func (p *AboutPage) StreamContent(qw422016 *qt422016.Writer, ctx context.Context) { //line templates/about.qtpl:14 qw422016.N().S(` `) //line templates/about.qtpl:15 qw422016.N().Z(p.Body) //line templates/about.qtpl:15 qw422016.N().S(` `) //line templates/about.qtpl:16 } //line templates/about.qtpl:16 func (p *AboutPage) WriteContent(qq422016 qtio422016.Writer, ctx context.Context) { //line templates/about.qtpl:16 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/about.qtpl:16 p.StreamContent(qw422016, ctx) //line templates/about.qtpl:16 qt422016.ReleaseWriter(qw422016) //line templates/about.qtpl:16 } //line templates/about.qtpl:16 func (p *AboutPage) Content(ctx context.Context) string { //line templates/about.qtpl:16 qb422016 := qt422016.AcquireByteBuffer() //line templates/about.qtpl:16 p.WriteContent(qb422016, ctx) //line templates/about.qtpl:16 qs422016 := string(qb422016.B) //line templates/about.qtpl:16 qt422016.ReleaseByteBuffer(qb422016) //line templates/about.qtpl:16 return qs422016 //line templates/about.qtpl:16 } //line templates/about.qtpl:18 func (p *AboutPage) StreamScript(qw422016 *qt422016.Writer, ctx context.Context) { //line templates/about.qtpl:18 qw422016.N().S(` `) //line templates/about.qtpl:19 } //line templates/about.qtpl:19 func (p *AboutPage) WriteScript(qq422016 qtio422016.Writer, ctx context.Context) { //line templates/about.qtpl:19 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/about.qtpl:19 p.StreamScript(qw422016, ctx) //line templates/about.qtpl:19 qt422016.ReleaseWriter(qw422016) //line templates/about.qtpl:19 } //line templates/about.qtpl:19 func (p *AboutPage) Script(ctx context.Context) string { //line templates/about.qtpl:19 qb422016 := qt422016.AcquireByteBuffer() //line templates/about.qtpl:19 p.WriteScript(qb422016, ctx) //line templates/about.qtpl:19 qs422016 := string(qb422016.B) //line templates/about.qtpl:19 qt422016.ReleaseByteBuffer(qb422016) //line templates/about.qtpl:19 return qs422016 //line templates/about.qtpl:19 }