Skip to content

Commit eee2603

Browse files
committed
Merge branch 'develop'
2 parents 95bf13e + f95550b commit eee2603

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

layouts/blog/list.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ <h2 class="font-headline font-medium text-xl md:text-4xl leading-snug md:leading
3535
{{ end }}
3636
{{ end }}
3737

38-
<!-- Section 2: Next 2 Posts (2-column cards) (only on Page 1) -->
39-
{{ $card_posts := first 2 (after 1 $paginator.Pages) }}
38+
<!-- Section 2: Next 3 Posts (3-column cards) (only on Page 1) -->
39+
{{ $card_posts := first 3 (after 1 $paginator.Pages) }}
4040
{{ if $card_posts }}
41-
<div class="grid grid-cols-1 md:grid-cols-2 gap-x-6 py-0 md:py-6 lg:py-12">
41+
<div class="grid grid-cols-1 md:grid-cols-3 gap-x-6 py-0 md:py-6 lg:py-12">
4242
{{ range $page := $card_posts }}
4343
<article class="white-box overflow-hidden mb-6">
4444
<figure class="relative h-48 w-full bg-primary-l2">
@@ -62,8 +62,8 @@ <h2 class="font-h2 mb-6">
6262
</div>
6363
{{ end }}
6464

65-
<!-- Section 3: Remaining 7 Posts (on Page 1) -->
66-
{{ $list_posts_page1 := after 3 $paginator.Pages }}
65+
<!-- Section 3: Remaining 6 Posts (on Page 1) -->
66+
{{ $list_posts_page1 := after 4 $paginator.Pages }}
6767
{{ if $list_posts_page1 }}
6868
<div class="space-y-6 mb-12">
6969
{{ range $page := $list_posts_page1 }}

0 commit comments

Comments
 (0)