hugo-theme-zirakzigil/layouts/_default/list.html

19 lines
448 B
HTML

{{ define "main" }}
<main class="grid grid-cols-1 place-content-evenly">
{{ if or .Title .Content }}
<div class="text-xl">
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
{{ with .Content }}<div>{{ . }}</div>{{ end }}
</div>
{{ end }}
{{ range .Paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
<div class="justify-self-center">
{{ partial "pagination.html" . }}
</div>
</main>
{{ partial "sidebar.html" . }}
{{ end }}