{{- $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 */ -}}

{{ .Title }}

{{- /* Meta */ -}}
{{- $author := $params.author | default .Site.Author.name | default (T "author") -}} {{- $authorLink := $params.authorlink | default .Site.Author.link | default .Site.Home.RelPermalink -}} {{- with .Site.Params.dateFormat | default "2006-01-02" | .PublishDate.Format -}}   {{- printf `` . . | dict "Date" | T "publishedOnDate" | safeHTML -}} {{- end -}} {{- $categories := slice -}} {{- range .Params.categories -}} {{- $category := partialCached "function/path.html" . . | printf "/categories/%v" | $.Site.GetPage -}} {{- $categories = $categories | append (printf `%v` $category.RelPermalink $category.Title) -}} {{- end -}} {{- with delimit $categories " " -}}   {{- end -}}
{{- /* 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 "readMore" }} {{- with .Params.tags -}} {{- end -}}