16 lines
360 B
HTML
Raw Normal View History

2022-10-29 06:08:38 +03:00
{{ define "main" }}
2022-11-11 02:41:26 +03: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 }}