feat: Ajout de l'article sur la pétition

This commit is contained in:
2021-05-12 08:43:19 +02:00
parent edfc4d6caf
commit fc3eaf1c23
11 changed files with 20 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{{ $isBig := default false (.Scratch.Get "big") }}
{{ $title := .RenderString .Title }}
{{ $titleWithoutHTML := $title | plainify }}
{{ $pictureSize := cond $isBig "220x220 Center webp" "100x100 Center webp" }}
{{ $pictureSize := cond $isBig "528x528 Center webp" "100x100 Center webp" }}
{{ $truncateSize := cond $isBig 180 90}}
<div class="post{{ if $isBig }} big{{ end }}">
<div class="picture">