start logos

This commit is contained in:
Denys Konovalov 2022-10-19 16:09:42 +02:00
parent f222bebf36
commit 9392e47e44

View File

@ -34,7 +34,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/start" "/" .Name | absURL }}<!-- relative URL -->
<div class="col-md-3 order-1 order-md-2 mb-4 mt-4">
<div class="col-md-3 col-4 order-1 order-md-2 mt-4">
<img class="img-fluid w-100" src="{{ $linkURL }}" alt="about image">
</div>
{{- end }}
@ -239,7 +239,7 @@
{{ end }}
{{ end }}
<section class="section bg-footer">
<section class="bg-footer">
<div class="container">
<div class="row align-items-center">
{{- $files := readDir "/static/media/logos" }}