2022-10-29 03:08:38 +00:00
|
|
|
{{ define "main" }}
|
2022-11-10 23:41:26 +00:00
|
|
|
<div id="posts">
|
|
|
|
{{ $listtitle := .Title }}
|
|
|
|
{{ if or .Title .Content }}
|
|
|
|
<div>
|
|
|
|
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
|
|
|
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ range .Paginator.Pages }}
|
|
|
|
{{ partial "summary.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|