{{- $featured_image := partial "func/GetFeaturedImage.html" . -}}
{{- if or $featured_image .Params.featured_image -}} {{- $default_image_url := "" -}} {{- with $featured_image -}} {{- $default_image_url = .RelPermalink -}} {{- else -}} {{- $default_image_url = .Params.featured_image -}} {{- end -}} {{- /* Trimming the slash and adding absURL make sure the image works no matter where our site lives */ -}} {{- $default_image_url := (trim $default_image_url "/") | absURL }} {{ end }}

{{ .Title }}

{{ $.Param "read_more_copy" | default (i18n "readMore") }} {{/* TODO: add author

By {{ .Author }}

*/}}