mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-06-29 11:42:15 -04:00
♻️ Use .Data.Pages in place of counting .Pages
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user