{{- $images := $.Resources.ByType "image" }} {{- $thumbnail := $images.GetMatch (.Params.thumbnail | default "*thumb*") }} {{- $feature := $images.GetMatch (.Params.feature | default "*feature*") | default $thumbnail }} {{- with $feature }}
{{ $.Params.featureAlt | default $.Params.thumbnailAlt | default
{{- end }}

{{ with .Params.externalUrl }}
{{ $.Title | emojify }}
{{ else }} {{ .Title | emojify }} {{ end }} {{ if and .Draft .Site.Params.article.showDraftLabel }}
{{ partial "badge.html" (i18n "article.draft" | emojify) }}
{{ end }} {{ if templates.Exists "partials/extend-article-link.html" }} {{ partial "extend-article-link.html" . }} {{ end }}

{{ partial "article-meta.html" . }}
{{ if .Params.showSummary | default (.Site.Params.list.showSummary | default false) }}
{{ .Summary | emojify }}
{{ end }}