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 }}
|
{{ .Content | emojify }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{ if gt .Pages 0 }}
|
{{ if .Data.Pages }}
|
||||||
<section>
|
<section>
|
||||||
{{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
|
{{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
|
||||||
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
|
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
|
||||||
|
|
Loading…
Reference in New Issue