Skip to content

Commit

Permalink
fixed carousel bug
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Ludwig committed Oct 22, 2024
1 parent f218c96 commit e725f49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/talk_card.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ <h4 class="mb-0 card-title">{{post.title}}</h4>
{% else %}
{% assign img_src = {% link {{img}} %} %}
{% endif %}
<div class="carousel-item active">
<div class="carousel-item {% if forloop.first %}active{% endif %}">
<img src="{{img_src}}" class="sf-talk-card-img"
{% if img.center %}
style="object-position: {{img.center}};"
{% endif %}
alt="Title Image of Talk {{include.talk.title}}" loading="lazy">
loading="lazy" >
</div>
{% endfor %}
</div>
Expand Down

0 comments on commit e725f49

Please sign in to comment.