mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-31 14:58:23 -04:00
Merge 3440731889
into 7cf752f864
This commit is contained in:
commit
8187578289
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@
|
|||
{{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }}
|
||||
{{- end }}
|
||||
|
||||
{{- $paginator := .Paginate $pages }}
|
||||
{{- $sorted := ($pages.ByParam "date").Reverse }}
|
||||
{{- $paginator := .Paginate $sorted }}
|
||||
|
||||
{{- if and .IsHome site.Params.homeInfoParams (eq $paginator.PageNumber 1) }}
|
||||
{{- partial "home_info.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue