{{- $params := .Params | merge .Site.Params.page -}}
{{- /* Featured image */ -}} {{- $image := $params.featuredimagepreview | default $params.featuredimage -}} {{- with .Resources.GetMatch "featured-image" -}} {{- $image = .RelPermalink -}} {{- end -}} {{- with .Resources.GetMatch "featured-image-preview" -}} {{- $image = .RelPermalink -}} {{- end -}} {{- with $image -}} {{- end -}} {{- /* Title */ -}}

{{- with $params.weight -}} {{- $icon := dict "Class" "fa-solid fa-thumbtack fa-fw" -}} {{- $icon | partial "plugin/icon.html" -}} {{- end -}} {{- $repost := $params.repost | default dict -}} {{- with $repost -}} {{- if eq .Enable true -}} {{- $icon := dict "Class" "fa-solid fa-share fa-fw" -}} {{- $title := cond (hasPrefix .Url "http") (printf "%v -> %v" (T "single.repost") .Url ) (T "single.repost") -}} {{- $icon | partial "plugin/icon.html" -}} {{- end -}} {{- end -}} {{ .LinkTitle }}

{{- /* Meta */ -}}
{{- partial "single/post-author.html" . -}} {{- with .PublishDate | dateFormat (.Site.Params.dateFormat | default "2006-01-02") -}}   {{- printf `` . . | dict "Date" | T "single.publishedOnDate" | safeHTML -}} {{- end -}} {{- partial "single/post-included-in.html" . -}}
{{- /* Summary content */ -}}
{{- with .Summary -}} {{- dict "Content" . "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}} {{- else -}} {{- .Description | safeHTML -}} {{- end -}}
{{- /* Footer */ -}}
{{ T "single.readMore" }} {{- $tagTerms := .GetTerms "tags" -}} {{- if $tagTerms -}} {{- end -}}