File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ <h2 class="font-headline font-medium text-xl md:text-4xl leading-snug md:leading
35
35
{{ end }}
36
36
{{ end }}
37
37
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) }}
40
40
{{ 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 ">
42
42
{{ range $page := $card_posts }}
43
43
< article class ="white-box overflow-hidden mb-6 ">
44
44
< figure class ="relative h-48 w-full bg-primary-l2 ">
@@ -62,8 +62,8 @@ <h2 class="font-h2 mb-6">
62
62
</ div >
63
63
{{ end }}
64
64
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 }}
67
67
{{ if $list_posts_page1 }}
68
68
< div class ="space-y-6 mb-12 ">
69
69
{{ range $page := $list_posts_page1 }}
You can’t perform that action at this time.
0 commit comments