This commit is contained in:
2022-10-18 22:50:46 +02:00
parent a2f8f3e198
commit c36bc3ec11
15 changed files with 5190 additions and 5 deletions

View File

@ -222,4 +222,21 @@
{{ end }}
{{ end }}
<section class="section bg-footer">
<div class="container">
<div class="row align-items-center">
{{- $files := readDir "/static/media/logos" }}
{{- range $files -}}
{{- $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 order-1 order-md-2 mb-4">
<img class="img-fluid w-100" src="{{ $linkURL }}" alt="about image">
</div>
{{- end }}
{{- end }}
</div>
</div>
</section>
{{ end }}

View File

@ -29,10 +29,8 @@ crossorigin=""/>
<button type="submit" value="send" class="btn btn-primary">{{ i18n "send" }}</button>
</form>
</div>
<div class="col-lg-5">
<div class="col-lg-5 content">
{{ .Content }}
<a href="tel:{{ .Site.Params.mobile }}" class="mb-5 btn btn-primary">{{ .Site.Params.mobile }}</a>
<a href="mailto:{{ .Site.Params.email }}" class="btn btn-primary">{{ .Site.Params.email }}</a>
</div>
</div>
</div>