website/layouts/shortcodes/partners.html

25 lines
1.2 KiB
HTML
Raw Normal View History

2024-05-31 11:39:23 +02:00
<div class=partners>
2024-11-10 15:13:08 +01:00
<h2>{{ if (eq .Lang "en") }}They support us regularly:{{ else }}Ils nous soutiennent régulièrement:{{ end }}</h2>
2024-05-31 11:39:23 +02:00
{{ range .Site.Data.partners.partners }}
<div id="{{ .id }}" class="partner flex flex-wrap">
<a href="{{ .url | safeURL }}" title="{{ .Name }}" class="w-full md:w-1/3 partner-image">
2024-06-06 12:11:20 +02:00
<img src="{{ if .realimg }}{{ .realimg }}{{ else }}/proxyPhotos?code=/{{ .img }}{{ end }}">
2024-05-31 11:39:23 +02:00
</a>
<div class="w-full md:w-2/3">
2024-06-11 12:24:20 +02:00
{{ if (and .descriptionen (eq .Lang "en")) }}{{ .descriptionen | safeHTML }}{{ else }}{{ .description | safeHTML}}{{ end }}
2024-05-31 11:39:23 +02:00
</div>
</div>
{{ end }}
2024-11-10 15:13:08 +01:00
<h2>{{ if (eq .Lang "en") }}They supported us:{{ else }}Ils nous ont soutenus:{{ end }}</h2>
2024-08-17 16:07:36 +02:00
{{ range .Site.Data.partners.old }}
2024-08-02 17:41:31 +02:00
<div id="{{ .id }}" class="partner flex flex-wrap">
<a href="{{ .url | safeURL }}" title="{{ .Name }}" class="w-full md:w-1/3 partner-image">
<img src="{{ if .realimg }}{{ .realimg }}{{ else }}/proxyPhotos?code=/{{ .img }}{{ end }}">
</a>
<div class="w-full md:w-2/3">
2024-11-10 15:13:08 +01:00
{{ if (and .descriptionen (eq .Lang "en")) }}{{ .descriptionen | safeHTML }}{{ else }}{{ .description | safeHTML}}{{ end }
2024-08-02 17:41:31 +02:00
</div>
</div>
{{ end }}
2024-05-31 11:39:23 +02:00
</div>