immagine autore di default
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 56s

This commit is contained in:
Paolo Asperti 2024-09-17 22:43:19 +02:00
parent 91bda273c8
commit 4c793c56c8
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 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_autore.png").RelPermalink -}}
{{- if .Params.image -}}
{{/* se è stata definita un'immagine featured */}}