Update index.html

This commit is contained in:
Denys Konovalov 2022-10-18 21:03:38 +00:00
parent c36bc3ec11
commit a3e008bce5

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 order-1 order-md-2 mb-4"> <div class="col-md-2 col-6 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 }}