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

19 lines
448 B
HTML
Raw Permalink Normal View History

2023-02-20 22:37:42 -05:00
{{ define "main" }}
2023-11-01 19:37:20 -04:00
<main class="grid grid-cols-1 place-content-evenly">
2023-02-20 22:37:42 -05:00
{{ if or .Title .Content }}
2023-11-01 19:37:20 -04:00
<div class="text-xl">
2023-02-20 22:37:42 -05:00
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
{{ with .Content }}<div>{{ . }}</div>{{ end }}
</div>
{{ end }}
{{ range .Paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
2023-11-01 19:37:20 -04:00
<div class="justify-self-center">
{{ partial "pagination.html" . }}
</div>
2023-02-20 22:37:42 -05:00
</main>
{{ partial "sidebar.html" . }}
{{ end }}