{{ define "main" }}

{{ .Title }}

{{ .Description }}

{{ if .Site.Params.show_post_dates | default true }} {{- with .Date }}{{ end }} {{ end }} {{ partial "tags.html" . }}
{{- if or .Params.image }} {{- $featimg := "#" -}} {{- if .Params.image -}} {{/* se è stata definita un'immagine featured */}} {{- $img := .Page.Resources.GetMatch .Params.image -}} {{- $featimg = $img.RelPermalink -}} {{- end -}} {{- if .Params.featured -}} {{/* se è stata definita un'immagine featured */}} {{- $img := .Page.Resources.GetMatch .Params.featured -}} {{- $featimg = $img.RelPermalink -}} {{- end -}} {{ .Params.image_alt }} {{ end }} {{- .Content }} {{ end }}