Update index.html

This commit is contained in:
Denys Konovalov 2022-10-18 21:06:13 +00:00
parent 31e8664a8a
commit 349caabda5

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? -->
{{- if $isimg }}
{{- $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">
</div>
{{- end }}