{{- .Title }} {{- if .Draft }} [draft]{{- end }}
{{ .Description | plainify | htmlUnescape }}
{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}
{{ 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 .Description }}
{{ .Description | markdownify }}
{{- end }}
{{ .Description | plainify | htmlUnescape }}
{{ else }}{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}
{{ end }}