Eric Bower
·
21 Jun 24
post.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<div class="post-container">
15 <main class="post flex-1">
16 <h1 class="text-2xl text-underline-hdr text-hdr inline-block">{{.Data.Title}}</h1>
17 <h2 class="text-xl">{{.Data.Description}}</h2>
18
19 <hr />
20
21 <article class="md">
22 {{.Data.Html}}
23 </article>
24
25 {{template "pager" .}}
26 </main>
27
28 {{template "sitemap-footer" .}}
29</div>
30
31{{template "footer" .}}
32{{end}}