Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marsaldev committed Apr 29, 2022
1 parent 3b85e97 commit 983d6a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/ps_imageslider/views/templates/hook/slider.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{foreach from=$homeslider.slides item=slide name='homeslider'}
<li class="carousel-item{if $smarty.foreach.homeslider.first} active{/if}" role="option"
aria-hidden="{if $smarty.foreach.homeslider.first}false{else}true{/if}">
<a class="carousel-link" href="{$slide.url}">
{if !empty($slide.url)}<a class="carousel-link" href="{$slide.url}">{/if}
<figure class="carousel-content">
<img src="{$slide.image_url}" alt="{$slide.legend|escape}" loading="lazy">
{if $slide.title || $slide.description}
Expand All @@ -48,7 +48,7 @@
</figcaption>
{/if}
</figure>
</a>
{if !empty($slide.url)}</a>{/if}
</li>
{/foreach}
</div>
Expand Down

0 comments on commit 983d6a8

Please sign in to comment.