1
0
forked from BgLUG/bglug.it

immagine placeholder in elenco post/eventi (#214)

ref #201

Reviewed-on: BgLUG/bglug.it#214
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
Paolo Asperti 2024-09-11 12:24:13 +00:00 committed by Paolo Asperti
parent 32d1815152
commit c62206c81c
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" }}
{{ $newres := "360x250 smart" }}
{{/* di default, niente immagine */}}
{{- $featimg := "#" -}}
{{/* immagine di default */}}
{{- $featimg := (resources.Get "/images/placeholder_elenco.png").RelPermalink -}}
{{- if .Params.image -}}
{{/* se è stata definita un'immagine featured */}}