hub/web/template/home.qtpl.go

129 lines
3.9 KiB
Go
Raw Normal View History

2023-03-12 07:33:08 +00:00
// Code generated by qtc from "home.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
//line web/template/home.qtpl:1
package template
//line web/template/home.qtpl:1
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
//line web/template/home.qtpl:1
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
//line web/template/home.qtpl:1
type Home struct {
*BaseOf
}
//line web/template/home.qtpl:6
func (p *Home) streambody(qw422016 *qt422016.Writer) {
//line web/template/home.qtpl:6
2023-11-05 14:01:19 +00:00
qw422016.N().S(`<main class="[ body__main ][ stack center ]"><div class="[ h-app h-x-app ][ text-align_center ]"><picture><source srcset="/static/icon.svg"`)
//line web/template/home.qtpl:11
qw422016.N().S(` `)
//line web/template/home.qtpl:11
qw422016.N().S(`type="image/svg+xml"><img class="u-icon u-logo u-photo"`)
//line web/template/home.qtpl:13
qw422016.N().S(` `)
//line web/template/home.qtpl:13
qw422016.N().S(`src="/static/apple-touch-icon.png"`)
//line web/template/home.qtpl:14
qw422016.N().S(` `)
//line web/template/home.qtpl:14
qw422016.N().S(`loading="lazy"`)
//line web/template/home.qtpl:15
qw422016.N().S(` `)
//line web/template/home.qtpl:15
qw422016.N().S(`alt="`)
2023-03-12 07:33:08 +00:00
//line web/template/home.qtpl:15
p.streamt(qw422016, "%s logo", p.name)
//line web/template/home.qtpl:15
2023-11-05 14:01:19 +00:00
qw422016.N().S(`"></picture><h1><a class="[ u-url ][ p-name ]"`)
2023-03-12 07:33:08 +00:00
//line web/template/home.qtpl:20
2023-11-05 14:01:19 +00:00
qw422016.N().S(` `)
2023-03-12 07:33:08 +00:00
//line web/template/home.qtpl:20
2023-11-05 14:01:19 +00:00
qw422016.N().S(`href="/">`)
2023-03-12 07:33:08 +00:00
//line web/template/home.qtpl:22
2023-11-05 14:01:19 +00:00
qw422016.E().S(p.name)
2023-03-12 07:33:08 +00:00
//line web/template/home.qtpl:22
2023-11-05 14:01:19 +00:00
qw422016.N().S(`</a></h1><p class="p-summary">`)
//line web/template/home.qtpl:25
p.streamt(qw422016, "Dead simple WebSub hub")
//line web/template/home.qtpl:25
qw422016.N().S(`</p></div><hr><ul class="stack"><li><span role="img"`)
//line web/template/home.qtpl:33
qw422016.N().S(` `)
//line web/template/home.qtpl:33
2023-11-05 14:04:49 +00:00
qw422016.N().S(`aria-label="ping pong">🏓</span>`)
//line web/template/home.qtpl:37
2023-11-05 14:01:19 +00:00
qw422016.N().S(` `)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:37
qw422016.N().S(`<a rel="external help"`)
2023-11-05 14:01:19 +00:00
//line web/template/home.qtpl:39
qw422016.N().S(` `)
//line web/template/home.qtpl:39
2023-11-05 14:04:49 +00:00
qw422016.N().S(`hreflang="en"`)
//line web/template/home.qtpl:40
qw422016.N().S(` `)
//line web/template/home.qtpl:40
2023-11-05 14:01:19 +00:00
qw422016.N().S(`href="https://indieweb.org/how-to-push">`)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:42
2023-03-12 07:33:08 +00:00
p.streamt(qw422016, "How to publish and consume?")
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:42
2023-11-05 14:01:19 +00:00
qw422016.N().S(`</a></li><li><span role="img"`)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:47
2023-11-05 14:01:19 +00:00
qw422016.N().S(` `)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:47
qw422016.N().S(`aria-label="pages">📑</span>`)
2023-11-05 14:01:19 +00:00
//line web/template/home.qtpl:51
qw422016.N().S(` `)
//line web/template/home.qtpl:51
2023-11-05 14:04:49 +00:00
qw422016.N().S(`<a rel="external help"`)
//line web/template/home.qtpl:53
qw422016.N().S(` `)
//line web/template/home.qtpl:53
2023-11-05 14:01:19 +00:00
qw422016.N().S(`hreflang="en"`)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:54
2023-11-05 14:01:19 +00:00
qw422016.N().S(` `)
//line web/template/home.qtpl:54
2023-11-05 14:04:49 +00:00
qw422016.N().S(`href="https://www.w3.org/TR/websub/">`)
//line web/template/home.qtpl:56
2023-03-12 07:33:08 +00:00
p.streamt(qw422016, "What the spec?")
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:56
2023-11-05 14:01:19 +00:00
qw422016.N().S(`</a></li></ul></main>`)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
}
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
func (p *Home) writebody(qq422016 qtio422016.Writer) {
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
qw422016 := qt422016.AcquireWriter(qq422016)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
p.streambody(qw422016)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
qt422016.ReleaseWriter(qw422016)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
}
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
func (p *Home) body() string {
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
qb422016 := qt422016.AcquireByteBuffer()
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
p.writebody(qb422016)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
qs422016 := string(qb422016.B)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
qt422016.ReleaseByteBuffer(qb422016)
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
return qs422016
2023-11-05 14:04:49 +00:00
//line web/template/home.qtpl:61
2023-03-12 07:33:08 +00:00
}