Skip to content

Commit

Permalink
fix: do not paginate on page (#1027)
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Feb 21, 2024
1 parent 3fdd28c commit 510790f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head/title.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{{- $pages := .Pages.ByTitle -}}
{{- if eq $.Site.Params.taxonomySortingMethod "popularity" -}}{{- $pages = (sort $pages ".Data.Pages" "desc") -}}{{- end -}}
{{- $paginator = .Paginate $pages .Site.Params.taxonomyPaginate -}}
{{- else -}}
{{- else if not .IsPage -}}
{{- $paginator = .Paginate .RegularPagesRecursive -}}
{{- end -}}
{{- if $paginator -}}
Expand Down

0 comments on commit 510790f

Please sign in to comment.