repos / starfx

supercharged async flow control library.
git clone https://github.com/neurosnap/starfx.git

starfx / docs / tmpl
Eric Bower · 30 Jul 24

sitemap.page.tmpl

 1{{template "base" .}}
 2
 3{{define "title"}}{{.Data.Title}}{{end}}
 4
 5{{define "meta"}}
 6<meta name="description" content="{{.Data.Description}}" />
 7{{end}}
 8
 9{{define "attrs"}}class="container"{{end}}
10
11{{define "body"}}
12{{template "nav" .}}
13
14<main>
15  <h1 class="text-2xl text-underline-hdr text-hdr inline-block">{{.Data.Title}}</h1>
16  <h2 class="text-xl">{{.Data.Description}}</h2>
17
18  <hr />
19
20  {{template "toc" .}}
21
22  <hr />
23</main>
24
25{{template "footer" .}}
26{{end}}