Skip to content

Commit

Permalink
Fix: Carousel update for BS syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pett <[email protected]>
  • Loading branch information
portableant committed May 22, 2024
1 parent 074703e commit 5915ab4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions _layouts/pop-ups.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ <h1 id="doc-main-h1">{{ page.title }}</h1>
{% assign count = page.images.size %}
{% assign slides = page.images | slice:1, count %}
<div class="container mt-3 mb-3">
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active"></li>
{% assign co = slides.size %}
{% for i in (1..co) %}
<li data-target="#carouselExampleIndicators" data-slide-to="{{i}}"></li>
<li data-target="#carouselExampleIndicators" data-bs-slide-to="{{i}}"></li>
{% endfor %}
</ol>

Expand All @@ -139,11 +139,11 @@ <h1 id="doc-main-h1">{{ page.title }}</h1>
{% endfor %}

</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
Expand Down

0 comments on commit 5915ab4

Please sign in to comment.