Update index.html

This commit is contained in:
Denys Konovalov 2022-10-18 21:06:13 +00:00
parent a3e008bce5
commit c785d76799

View File

@ -230,7 +230,7 @@
{{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp|avif|jxl|svg)" }}<!-- is the current file an image? --> {{- $isimg := lower .Name | findRE "\\.(gif|jpg|jpeg|tiff|png|bmp|webp|avif|jxl|svg)" }}<!-- is the current file an image? -->
{{- if $isimg }} {{- if $isimg }}
{{- $linkURL := print "/media/logos" "/" .Name | absURL }}<!-- relative URL --> {{- $linkURL := print "/media/logos" "/" .Name | absURL }}<!-- relative URL -->
<div class="col-md-2 col-6 order-1 order-md-2 mb-4"> <div class="col-md-2 col-4 order-1 order-md-2 mb-4">
<img class="img-fluid w-100" src="{{ $linkURL }}" alt="about image"> <img class="img-fluid w-100" src="{{ $linkURL }}" alt="about image">
</div> </div>
{{- end }} {{- end }}