{{- .Title }} {{- if .Draft }} {{- end }}
{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}
{{- define "main" }}
{{- if (and site.Params.profileMode.enabled .IsHome) }}
{{- partial "index_profile.html" . }}
{{- else }} {{/* if not profileMode */}}
{{- if not .IsHome | and .Title }}
{{ .Title }}
{{- if and (or (eq .Kind `term`) (eq .Kind `section`)) (.Param "ShowRssButtonInSectionTermList") }}
{{- with .OutputFormats.Get "rss" }}
{{- end }}
{{- end }}
{{- if .Description }}
{{ .Description | markdownify }}
{{- end }}
{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}