Skip to content

Commit 008afd8

Browse files
vjdhamaclaude
andcommitted
Fix: Blog carousel parameter case sensitivity
Changed from `isset .Params "authorId"` to `.Params.authorid` Co-Authored-By: Claude <[email protected]>
1 parent 08ddd7a commit 008afd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/blog-carousel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="carousel-inner">
33
{{ $posts := where .Site.Pages "Section" "blog" }}
44
{{ range $index, $page := $posts }}
5-
{{ if or (isset .Params "authorId") (isset .Params "authorIds") }}
5+
{{ if or .Params.authorid .Params.authorids }}
66
<div class="carousel-item {{ if eq $index 0 }}active{{ end }}">
77
<div class="card">
88
<div class="card-body card-body-shadow">

0 commit comments

Comments
 (0)