Skip to content

Commit

Permalink
update sort param
Browse files Browse the repository at this point in the history
  • Loading branch information
xnzone committed Sep 27, 2023
1 parent e127d58 commit cdf9c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{- partial "profile.html" }}

{{- $pages := (where site.RegularPages "Params.cover" "eq" true) }}
{{ $pages = sort $pages "Params.weight" }}
{{ $pages = sort $pages "Params.sort" }}
{{- $paginator := .Paginate $pages }}

<section class="article-list">
Expand Down

0 comments on commit cdf9c21

Please sign in to comment.