Skip to content

Commit

Permalink
⏪ Revert: restore page number of collection list simple nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Dec 27, 2023
1 parent 928fba1 commit d777b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/single/collection-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{{- else -}}
{{- dict "Class" "fa-solid fa-angle-left fa-fw collection-nav-item text-secondary" | partial "plugin/icon.html" -}}
{{- end -}}
<span class="text-secondary">{{ sub $pages.Len $currentKey }}/{{ $pages.Len }}</span>
<span class="text-secondary">{{ add $currentKey 1 }}/{{ $pages.Len }}</span>
{{- with $next -}}
<a href="{{ .RelPermalink }}" class="collection-nav-item" rel="next" title="{{ .LinkTitle }}">
{{- dict "Class" "fa-solid fa-angle-right fa-fw" | partial "plugin/icon.html" -}}
Expand Down

0 comments on commit d777b2c

Please sign in to comment.