{{- /* Featured image */ -}}
{{- with .Params.featuredImage -}}
{{- $image := $.Params.featuredImagePreview | default . -}}
{{- partial "plugin/image.html" (dict "src" $image "description" $.Description "context" $) -}}
{{- end -}}
{{- /* Title */ -}}
{{- /* Meta */ -}}
{{- $author := .Params.author | default .Site.Author.name -}}
{{- $authorLink := .Params.authorLink | default .Site.Author.link | default (relLangURL "/") -}}
{{ $author }}
{{- $publish_date := .PublishDate.Format (.Site.Params.dateFormatToUse | default "2006-01-02") -}}
{{ T "publish" }}
{{- with .Params.categories -}}
{{- T "included" -}}
{{- range . -}}
{{ . | humanize }}
{{- end -}}
{{- end -}}
{{- /* Summary content */ -}}
{{- with .Summary -}}
{{- partial "single/content.html" . -}}
{{- else -}}
{{- .Description | safeHTML -}}
{{- end -}}
{{- /* Footer */ -}}