This commit is contained in:
GZod01 2024-05-28 07:51:48 +02:00
parent 15582b9e0f
commit ca100ab3ff
8 changed files with 1098 additions and 1056 deletions

View file

@ -20,7 +20,7 @@
</div>
{{ else }}
<div
class="articles">
class="articles {{ if (lt $ammount 3) }}articles-len-{{ $ammount }}{{ end }}">
{{ $pageslist := (first $ammount $allposts )}}
{{ if .pagination }}
{{ $pageslist = ($context.Page.Paginate $allposts (cast.ToInt $ammount)).Pages }}