{{- .Title }} {{- if .Draft }} {{- end }}
{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}
{{- define "main" }}
{{- /*
Override of PaperMod's _default/list.html. Two changes, both around the
paginator:
1. home_info is no longer gated on `eq $paginator.PageNumber 1`. The intro
card (title, blurb, social links) now appears on every paginated home
page, not just page 1.
2. A "Page N of M" counter sits inline between the prev/next buttons.
Absolutely positioned so it stays centered even when prev or next is
absent (page 1 / last page). Uses .entry-footer for secondary-color
small-font treatment; line-height matches the buttons' 36px.
*/ -}}
{{- 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 }}
{{ .Summary | plainify | htmlUnescape }}{{ if .Truncated }}...{{ end }}