{{- /* Featured image */ -}} {{- if ne .Site.Params.home.posts.image_preview false -}} {{- $cover := dict "Page" . "Preview" true | partial "function/get-cover.html" -}} {{- if $cover.Source | or (gt (len $cover.Matches) 0) -}} {{- end -}} {{- end -}} {{- /* Title */ -}}

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

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