immagine autore di default
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 56s
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 56s
This commit is contained in:
parent
91bda273c8
commit
4c793c56c8
BIN
assets/images/placeholder_autore.png
Normal file
BIN
assets/images/placeholder_autore.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
@ -4,8 +4,8 @@
|
||||
{{ $rasters := slice "jpeg" "png" }}
|
||||
{{ $newres := "360x250 smart" }}
|
||||
|
||||
{{/* di default, niente immagine */}}
|
||||
{{- $featimg := "#" -}}
|
||||
{{/* immagine di default */}}
|
||||
{{- $featimg := (resources.Get "/images/placeholder_autore.png").RelPermalink -}}
|
||||
|
||||
{{- if .Params.image -}}
|
||||
{{/* se è stata definita un'immagine featured */}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user