{{ define "main" }}
<div class="container mx-auto">
    {{ $paginator := .Paginate (where .Pages "Type" "projects") }}
    <div class="grid grid-cols-2 gap-16">
        {{ range $paginator.Pages }}
        {{ partial "cards/blog-item" . }}
        {{ end }}
    </div>
    {{ template "partials/pagination.html" . }}

</div>
{{ end }}