X-Git-Url: https://git.kengrimes.com/?p=kengrimes.com%2Ftheme.git;a=blobdiff_plain;f=layouts%2F_default%2Flist.html;h=36c7aab13003e964a75997c6fe296477dd5399c0;hp=b14ce458190ac82be9dd15ba4b9eadfc070bd662;hb=6c61007c1278be9ac5fb0bb998a1b530d3c76a23;hpb=9c780480b76a525dd0e6cc709bdb150a4cc592cb diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b14ce45..36c7aab 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,20 +1,22 @@ {{- define "main" -}} -{{ $paginator := .Paginate (where .Data.Pages.ByDate "Section" .Section) 5 }} +{{ $paginator := .Paginate (where .Data.Pages.ByLastmod.Reverse "Section" .Section) 12 }} {{- if (gt (len (findRE "
- {{ .Summary | replaceRE "\n" "\n " | safeHTML }} -
-{{- if .Truncated }} - -{{- end }} -