immagine placeholder in elenco post/eventi (#214)
ref #201 Reviewed-on: #214 Co-authored-by: paspo <paolo@asperti.com> Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
parent
32d1815152
commit
c62206c81c
BIN
assets/images/placeholder_elenco.png
Normal file
BIN
assets/images/placeholder_elenco.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
@ -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 */}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user