feat: Mise à jour des visuels

This commit is contained in:
2020-12-09 17:23:27 +01:00
parent 42caa84a2a
commit 3beac6cd4a
9 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,12 @@
{{ if $image }}
{{ $resizedSmall := $image.Fill $imageSizeSmall }}
{{ $resizedBig := $image.Fill $imageSizeBig }}
<img class="hero no-print" src="{{ $resizedSmall.RelPermalink }}" srcset="{{ $resizedSmall.RelPermalink }} 600w, {{ $resizedBig.RelPermalink }} 1920w" sizes="(max-width: 600px) 500px, 1920px" />
<img
class="hero no-print"
src="{{ $resizedSmall.RelPermalink }}"
srcset="{{ $resizedSmall.RelPermalink }} 600w, {{ $resizedBig.RelPermalink }} 1920w"
sizes="(max-width: 600px) 500px, 1920px"
/>
{{ end }}
<nav class="nav">
<div class="container">