mirror of https://github.com/jpanther/congo.git
♻️ Use `.Data.Pages` in place of counting `.Pages`
parent
40426c8393
commit
0de45c0135
|
@ -24,7 +24,7 @@
|
|||
{{ .Content | emojify }}
|
||||
</div>
|
||||
</section>
|
||||
{{ if gt .Pages 0 }}
|
||||
{{ if .Data.Pages }}
|
||||
<section>
|
||||
{{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
|
||||
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
|
||||
|
|
Loading…
Reference in New Issue