aboutsummaryrefslogtreecommitdiff
path: root/themes/flamingo/layouts/_default/list.html
blob: bdb11bb47326dad1a25c6995b34bcf8d2299bf8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
	<main>
		{{ if (or (eq .Page.Name "Posts") (.Page.IsHome)) }}
			{{ partial "post-description.html" }}
		{{ else if (eq .Page.Name "Logs") }}
			{{ partial "log-description.html" }}
		{{ end }}

		<div class="blog-list">
			{{ range .Paginator.Pages }}
				{{ .Render "summary" }}
			{{ end }}
		</div>
			<!-- {{ partial "pagination.html" . }} -->
	</main>
	<!-- {{ partial "sidebar.html" . }} -->
{{ end }}