alfa
This commit is contained in:
12
themes/main-theme/layouts/projects/list.html
Normal file
12
themes/main-theme/layouts/projects/list.html
Normal file
@ -0,0 +1,12 @@
|
||||
{{ 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 }}
|
||||
Reference in New Issue
Block a user