{{ $params := . }} {{ $page := . }} {{ $listshowcontent := false }} {{ if reflect.IsMap $params }} {{ $page = $params.page }} {{ $listshowcontent = $params.listshowcontent }} {{ end }} {{ $authors := cond ($page.Param "paige.authors.hide" | not) (partial "paige/authors.html" $page) "" }} {{ $authorsclass := $page.Param "paige.authors.class" | default "paige-authors text-center text-secondary" }} {{ $categories := cond ($page.Param "paige.terms.hide" | not) ($page.Params.categories | default slice) slice | uniq }} {{ $commiturl := "" }} {{ $date := cond ($page.Param "paige.date.hide" | not) (cond (eq ($page.Param "paige.date.source" | default "published") "published") $page.PublishDate $page.Lastmod) "" }} {{ $dateclass := $page.Param "paige.date.class" | default "paige-date text-center text-secondary" }} {{ $dateformat := $page.Param "paige.date.format" | default ":date_long" }} {{ $description := cond ($page.Param "paige.description.hide" | not) ($page.Description | markdownify) "" }} {{ $descriptionclass := $page.Param "paige.description.class" | default "lead paige-description text-center" }} {{ $nogap := "mb-0" }} {{ $readingtime := cond ($page.Param "paige.reading_time.hide" | not) $page.ReadingTime "" }} {{ $readingtimeclass := $page.Param "paige.reading_time.class" | default "paige-reading-time text-center text-secondary" }} {{ $tags := cond ($page.Param "paige.terms.hide" | not) ($page.Params.tags | default slice) slice | uniq }} {{ $termsinnerclass := $page.Param "paige.terms.inner_class" | default "badge paige-terms-inner text-bg-secondary text-decoration-none" }} {{ $termsouterclass := $page.Param "paige.terms.outer_class" | default "paige-terms-outer text-center" }} {{ $title := $page.Title | markdownify }} {{ $titlelink := $page.Params.link }} {{ $titlepage := $page.RelPermalink }} {{ if and ($page.Param "paige.git.commit_url_prefix") $page.GitInfo }} {{ $commiturl = print ($page.Param "paige.git.commit_url_prefix") $page.GitInfo.Hash }} {{ end }}
{{ with $title }}

{{ with $titlelink }}{{ . }}{{ else }}{{ . }}{{ end }}{{ if $listshowcontent }}#{{ end }}

{{ end }} {{ with $description }}

{{ . }}

{{ end }} {{ if or $categories $tags }}

{{ $terms := slice }} {{ range $categories }} {{ $terms = $terms | append (dict "name" . "url" (lower . | printf "categories/%v/" | relLangURL)) }} {{ end }} {{ range $tags }} {{ $terms = $terms | append (dict "name" . "url" (lower . | printf "tags/%v/" | relLangURL)) }} {{ end }} {{ range sort $terms "name" }} {{ .name }} {{ end }}

{{ end }} {{ with $authors }}

{{ . }}

{{ end }} {{ with $date }}

{{ with $commiturl }} {{ end }} {{ if $commiturl }} {{ end }}

{{ end }} {{ with $readingtime }}

{{ . }} {{ i18n "paige_minutes" . }}

{{ end }}