Updating latest

Adding cards to search layout
Finishing cards to homepage
This commit is contained in:
2020-06-11 23:21:56 +01:00
parent bd8888720f
commit 220801930c
8 changed files with 100 additions and 58 deletions

View File

@@ -5,7 +5,7 @@
<h1>All Posts</h1>
</div>
</div>
<div class="row row-cols-1 row-cols-md-3">
<div class="row d-flex justify-content-center justify-content-md-around">
{{ $paginator := .Paginate (where .Pages "Type" "post") }}
{{ range $paginator.Pages }}
{{ .Render "card" }}