Skip to content

Commit

Permalink
Fix: 修复分页错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Oct 11, 2024
1 parent 22dc917 commit b048d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/section/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{- if $pages -}}
{{- $pages = .Pages.GroupByDate "2006" -}}
{{- with .Site.Params.section.paginate | default .Site.Params.paginate -}}
{{- $pages = $.Paginate $pages 4 -}}
{{- $pages = $.Paginate $pages . -}}
{{- else -}}
{{- $pages = .Paginate $pages -}}
{{- end -}}
Expand Down

0 comments on commit b048d38

Please sign in to comment.