Skip to content

Commit

Permalink
Fix image src relative_url
Browse files Browse the repository at this point in the history
  • Loading branch information
luost26 committed Oct 25, 2024
1 parent c4683e0 commit da6f50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/widgets/carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{% for item in include.images %}
<div class="carousel-item {% if forloop.index == 1 %}active{% endif %}">
{% if item.link %}<a href="{{ item.link }}" target="_blank">{% endif %}
<div class="lazy always-load d-block rounded-sm" data-src="{{ item.src }}" style="height: {{ include.height }};">
<div class="lazy always-load d-block rounded-sm" data-src="{{ item.src | relative_url }}" style="height: {{ include.height }};">
</div>
<div class="carousel-caption d-none d-md-block">
<h5>{{ item.title }}</h5>
Expand Down

0 comments on commit da6f50b

Please sign in to comment.