style fixes
Some checks failed
website-main / test-build (push) Waiting to run
website-main / prod-build (push) Has been cancelled

This commit is contained in:
2024-01-03 12:43:01 +01:00
parent eab1d36be5
commit 271169891c
9 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
{{ $dir := (.Get "dir") }}
{{ if $dir }}
<div class="card border-primary rounded-3">
<div class="carousel carousel-dark slide mb-0" data-bs-ride="true" id='slider-{{ md5 $dir }}'>
<div class="shortcode card border-primary rounded-3">
<div class="carousel slide mb-0" data-bs-ride="true" id='slider-{{ md5 $dir }}'>
{{ $images := slice }}
{{ range readDir (print "/static/" $dir) }}
{{ if (lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp|avif|jxl)") }}