💄 Added spaces in templates

This commit is contained in:
Maxim Lebedev 2023-11-05 20:04:49 +06:00
parent cd1b33e6e9
commit d15da0c842
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
4 changed files with 63 additions and 33 deletions

View File

@ -102,17 +102,17 @@ func NewBaseOf(lang language.Tag, name string) *BaseOf {
<footer class="[ body__footer ][ center ][ text-align_center ]">
<p>
Made with
Made with{% space %}
<span role="img"
{% space %}aria-label="love">
❤️
</span>
to
{% space %}to{% space %}
<a rel="external"
{% space %}href="https://{%s path %}">
open source
</a>
by
{% space %}by{% space %}
<a rel="author"
{% space %}href="https://toby3d.me/">
toby3d

View File

@ -320,11 +320,23 @@ func StreamTemplate(qw422016 *qt422016.Writer, p Page) {
}
//line web/template/baseof.qtpl:101
qw422016.N().S(`<footer class="[ body__footer ][ center ][ text-align_center ]"><p>Made with<span role="img"`)
qw422016.N().S(`<footer class="[ body__footer ][ center ][ text-align_center ]"><p>Made with`)
//line web/template/baseof.qtpl:105
qw422016.N().S(` `)
//line web/template/baseof.qtpl:105
qw422016.N().S(`<span role="img"`)
//line web/template/baseof.qtpl:107
qw422016.N().S(` `)
//line web/template/baseof.qtpl:107
qw422016.N().S(`aria-label="love">❤️</span>to<a rel="external"`)
qw422016.N().S(`aria-label="love">❤️</span>`)
//line web/template/baseof.qtpl:110
qw422016.N().S(` `)
//line web/template/baseof.qtpl:110
qw422016.N().S(`to`)
//line web/template/baseof.qtpl:110
qw422016.N().S(` `)
//line web/template/baseof.qtpl:110
qw422016.N().S(`<a rel="external"`)
//line web/template/baseof.qtpl:112
qw422016.N().S(` `)
//line web/template/baseof.qtpl:112
@ -332,7 +344,15 @@ func StreamTemplate(qw422016 *qt422016.Writer, p Page) {
//line web/template/baseof.qtpl:112
qw422016.E().S(path)
//line web/template/baseof.qtpl:112
qw422016.N().S(`">open source</a>by<a rel="author"`)
qw422016.N().S(`">open source</a>`)
//line web/template/baseof.qtpl:115
qw422016.N().S(` `)
//line web/template/baseof.qtpl:115
qw422016.N().S(`by`)
//line web/template/baseof.qtpl:115
qw422016.N().S(` `)
//line web/template/baseof.qtpl:115
qw422016.N().S(`<a rel="author"`)
//line web/template/baseof.qtpl:117
qw422016.N().S(` `)
//line web/template/baseof.qtpl:117

View File

@ -34,6 +34,7 @@
🏓
</span>
{% space %}
<a rel="external help"
{% space %}hreflang="en"
{% space %}href="https://indieweb.org/how-to-push">
@ -47,6 +48,7 @@
📑
</span>
{% space %}
<a rel="external help"
{% space %}hreflang="en"
{% space %}href="https://www.w3.org/TR/websub/">

View File

@ -61,60 +61,68 @@ func (p *Home) streambody(qw422016 *qt422016.Writer) {
//line web/template/home.qtpl:33
qw422016.N().S(` `)
//line web/template/home.qtpl:33
qw422016.N().S(`aria-label="ping pong">🏓</span><a rel="external help"`)
//line web/template/home.qtpl:38
qw422016.N().S(`aria-label="ping pong">🏓</span>`)
//line web/template/home.qtpl:37
qw422016.N().S(` `)
//line web/template/home.qtpl:38
//line web/template/home.qtpl:37
qw422016.N().S(`<a rel="external help"`)
//line web/template/home.qtpl:39
qw422016.N().S(` `)
//line web/template/home.qtpl:39
qw422016.N().S(`hreflang="en"`)
//line web/template/home.qtpl:39
//line web/template/home.qtpl:40
qw422016.N().S(` `)
//line web/template/home.qtpl:39
//line web/template/home.qtpl:40
qw422016.N().S(`href="https://indieweb.org/how-to-push">`)
//line web/template/home.qtpl:41
//line web/template/home.qtpl:42
p.streamt(qw422016, "How to publish and consume?")
//line web/template/home.qtpl:41
//line web/template/home.qtpl:42
qw422016.N().S(`</a></li><li><span role="img"`)
//line web/template/home.qtpl:46
//line web/template/home.qtpl:47
qw422016.N().S(` `)
//line web/template/home.qtpl:46
qw422016.N().S(`aria-label="pages">📑</span><a rel="external help"`)
//line web/template/home.qtpl:47
qw422016.N().S(`aria-label="pages">📑</span>`)
//line web/template/home.qtpl:51
qw422016.N().S(` `)
//line web/template/home.qtpl:51
qw422016.N().S(`<a rel="external help"`)
//line web/template/home.qtpl:53
qw422016.N().S(` `)
//line web/template/home.qtpl:53
qw422016.N().S(`hreflang="en"`)
//line web/template/home.qtpl:52
//line web/template/home.qtpl:54
qw422016.N().S(` `)
//line web/template/home.qtpl:52
//line web/template/home.qtpl:54
qw422016.N().S(`href="https://www.w3.org/TR/websub/">`)
//line web/template/home.qtpl:54
//line web/template/home.qtpl:56
p.streamt(qw422016, "What the spec?")
//line web/template/home.qtpl:54
//line web/template/home.qtpl:56
qw422016.N().S(`</a></li></ul></main>`)
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
}
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
func (p *Home) writebody(qq422016 qtio422016.Writer) {
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
qw422016 := qt422016.AcquireWriter(qq422016)
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
p.streambody(qw422016)
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
qt422016.ReleaseWriter(qw422016)
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
}
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
func (p *Home) body() string {
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
qb422016 := qt422016.AcquireByteBuffer()
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
p.writebody(qb422016)
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
qs422016 := string(qb422016.B)
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
qt422016.ReleaseByteBuffer(qb422016)
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
return qs422016
//line web/template/home.qtpl:59
//line web/template/home.qtpl:61
}