|
|
@ -34,8 +34,7 @@
|
|
|
|
{{ $flags := slice }}
|
|
|
|
{{ $flags := slice }}
|
|
|
|
{{ $future := and .PublishDate (gt .PublishDate now) }}
|
|
|
|
{{ $future := and .PublishDate (gt .PublishDate now) }}
|
|
|
|
{{ $modified := and .PublishDate .Lastmod (lt .PublishDate .Lastmod) }}
|
|
|
|
{{ $modified := and .PublishDate .Lastmod (lt .PublishDate .Lastmod) }}
|
|
|
|
{{ $readingtime := cond ($page.Param "paige.list.reading_time.hide" | not) .ReadingTime "" }}
|
|
|
|
{{ $readingtime := .ReadingTime }}
|
|
|
|
{{ $readingtimeclass := $page.Param "paige.list.reading_time.class" | default "mb-0 paige-reading-time text-center text-secondary" }}
|
|
|
|
|
|
|
|
{{ $sectionclass := $page.Param "paige.list.section.class" | default "mb-3 paige-page w-100" }}
|
|
|
|
{{ $sectionclass := $page.Param "paige.list.section.class" | default "mb-3 paige-page w-100" }}
|
|
|
|
{{ $summary := .Summary | htmlUnescape | plainify }}
|
|
|
|
{{ $summary := .Summary | htmlUnescape | plainify }}
|
|
|
|
{{ $tags := .Params.tags | default slice | uniq }}
|
|
|
|
{{ $tags := .Params.tags | default slice | uniq }}
|
|
|
@ -119,7 +118,7 @@
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ with $readingtime }}
|
|
|
|
{{ with $readingtime }}
|
|
|
|
<p {{ with $readingtimeclass }} class="{{ . }}" {{ end }}>{{ . }} {{ i18n "paige_minutes" . }}</p>
|
|
|
|
<p class="mb-0 paige-reading-time text-center text-secondary">{{ . }} {{ i18n "paige_minutes" . }}</p>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|