// Code generated by qtc from "editor.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. //line web/template/editor.qtpl:1 package template //line web/template/editor.qtpl:1 import ( "time" ) //line web/template/editor.qtpl:5 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line web/template/editor.qtpl:5 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line web/template/editor.qtpl:6 type PageEditor struct { *BaseOf now time.Time } func NewPageEditor(base *BaseOf) *PageEditor { return &PageEditor{ BaseOf: base, now: time.Now().UTC(), } } //line web/template/editor.qtpl:19 func (pe *PageEditor) streamtitle(qw422016 *qt422016.Writer) { //line web/template/editor.qtpl:19 qw422016.N().S(` Editor — Micropub `) //line web/template/editor.qtpl:21 } //line web/template/editor.qtpl:21 func (pe *PageEditor) writetitle(qq422016 qtio422016.Writer) { //line web/template/editor.qtpl:21 qw422016 := qt422016.AcquireWriter(qq422016) //line web/template/editor.qtpl:21 pe.streamtitle(qw422016) //line web/template/editor.qtpl:21 qt422016.ReleaseWriter(qw422016) //line web/template/editor.qtpl:21 } //line web/template/editor.qtpl:21 func (pe *PageEditor) title() string { //line web/template/editor.qtpl:21 qb422016 := qt422016.AcquireByteBuffer() //line web/template/editor.qtpl:21 pe.writetitle(qb422016) //line web/template/editor.qtpl:21 qs422016 := string(qb422016.B) //line web/template/editor.qtpl:21 qt422016.ReleaseByteBuffer(qb422016) //line web/template/editor.qtpl:21 return qs422016 //line web/template/editor.qtpl:21 } //line web/template/editor.qtpl:23 func (pe *PageEditor) streamhead(qw422016 *qt422016.Writer) { //line web/template/editor.qtpl:23 } //line web/template/editor.qtpl:23 func (pe *PageEditor) writehead(qq422016 qtio422016.Writer) { //line web/template/editor.qtpl:23 qw422016 := qt422016.AcquireWriter(qq422016) //line web/template/editor.qtpl:23 pe.streamhead(qw422016) //line web/template/editor.qtpl:23 qt422016.ReleaseWriter(qw422016) //line web/template/editor.qtpl:23 } //line web/template/editor.qtpl:23 func (pe *PageEditor) head() string { //line web/template/editor.qtpl:23 qb422016 := qt422016.AcquireByteBuffer() //line web/template/editor.qtpl:23 pe.writehead(qb422016) //line web/template/editor.qtpl:23 qs422016 := string(qb422016.B) //line web/template/editor.qtpl:23 qt422016.ReleaseByteBuffer(qb422016) //line web/template/editor.qtpl:23 return qs422016 //line web/template/editor.qtpl:23 } //line web/template/editor.qtpl:25 func (pe *PageEditor) streambody(qw422016 *qt422016.Writer) { //line web/template/editor.qtpl:25 qw422016.N().S(`
`) //line web/template/editor.qtpl:94 } //line web/template/editor.qtpl:94 func (pe *PageEditor) writebody(qq422016 qtio422016.Writer) { //line web/template/editor.qtpl:94 qw422016 := qt422016.AcquireWriter(qq422016) //line web/template/editor.qtpl:94 pe.streambody(qw422016) //line web/template/editor.qtpl:94 qt422016.ReleaseWriter(qw422016) //line web/template/editor.qtpl:94 } //line web/template/editor.qtpl:94 func (pe *PageEditor) body() string { //line web/template/editor.qtpl:94 qb422016 := qt422016.AcquireByteBuffer() //line web/template/editor.qtpl:94 pe.writebody(qb422016) //line web/template/editor.qtpl:94 qs422016 := string(qb422016.B) //line web/template/editor.qtpl:94 qt422016.ReleaseByteBuffer(qb422016) //line web/template/editor.qtpl:94 return qs422016 //line web/template/editor.qtpl:94 }