2022-03-29 22:52:36 +00:00
|
|
|
{{ define "main" }}
|
2022-03-30 15:06:21 +00:00
|
|
|
<article>
|
|
|
|
<header>
|
2022-06-10 15:35:31 +00:00
|
|
|
<h1>{{ .Title }}</h1>
|
2022-03-30 15:06:21 +00:00
|
|
|
</header>
|
|
|
|
{{ .Content }}
|
2022-06-07 13:54:07 +00:00
|
|
|
{{if gt (len .Pages) 0}}
|
|
|
|
<br />
|
|
|
|
<h3>Posts</h3>
|
2022-04-07 23:52:00 +00:00
|
|
|
<ul class='contents'>
|
2022-03-30 15:06:21 +00:00
|
|
|
{{ range .Pages }}
|
2022-08-18 13:41:11 +00:00
|
|
|
<li><a href='{{ .RelPermalink }}'>
|
|
|
|
{{ partial "summary.html" . }}
|
|
|
|
</a></li>
|
2022-03-30 15:06:21 +00:00
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2022-06-07 13:54:07 +00:00
|
|
|
{{ end }}
|
2022-03-30 15:06:21 +00:00
|
|
|
</article>
|
2022-03-29 22:52:36 +00:00
|
|
|
{{ end }}
|