southwestradio-site/themes/swr/layouts/_default/list.html
2022-11-29 13:17:25 +03:00

16 lines
360 B
HTML

{{ define "main" }}
<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 }}