feat: Modification des tailles des images et de l'affichage de la vignette mise en avant
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
{{ $isBig := default false (.Scratch.Get "big") }}
|
||||
{{ $title := .RenderString .Title }}
|
||||
{{ $titleWithoutHTML := $title | plainify }}
|
||||
{{ $pictureSize := cond $isBig "528x528 Center webp" "100x100 Center webp" }}
|
||||
{{ $pictureSize := cond $isBig "440x440 Center webp" "200x200 Center webp" }}
|
||||
{{ $truncateSize := cond $isBig 180 90}}
|
||||
<div class="post{{ if $isBig }} big{{ end }}">
|
||||
<div class="picture">
|
||||
|
Reference in New Issue
Block a user