immagine placeholder in elenco post/eventi
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 52s

This commit is contained in:
Paolo Asperti 2024-09-10 23:49:42 +02:00
parent 32d1815152
commit e29890a684
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -4,8 +4,8 @@
{{ $rasters := slice "jpeg" "png" }} {{ $rasters := slice "jpeg" "png" }}
{{ $newres := "360x250 smart" }} {{ $newres := "360x250 smart" }}
{{/* di default, niente immagine */}} {{/* immagine di default */}}
{{- $featimg := "#" -}} {{- $featimg := (resources.Get "/images/placeholder_elenco.png").RelPermalink -}}
{{- if .Params.image -}} {{- if .Params.image -}}
{{/* se è stata definita un'immagine featured */}} {{/* se è stata definita un'immagine featured */}}