1
1
Fork 0
mirror of https://github.com/Aroy-Art/Rinkusu.git synced 2025-05-08 14:07:28 +02:00

Fix masonry so it works if there are multiple grids on the same page

This commit is contained in:
Aroy-Art 2024-02-12 20:40:21 +01:00
parent 3de9992298
commit 1ce8d3af37
Signed by: Aroy
GPG key ID: 583642324A1D2070
3 changed files with 14 additions and 12 deletions
layouts/_default

View file

@ -21,7 +21,7 @@
{{ partial "tagcloud.html" . }}
<div class="row blog-post" data-masonry='{ "percentPosition": true }'>
<div class="row masonry-grid" data-masonry='{ "percentPosition": true }'>
{{ $paginator := .Paginate .Data.Pages}}
{{ range $paginator.Pages }}
{{ .Render "article" }}