Skip to content

Commit

Permalink
fix: update deprecated navigation variables (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
jalenzz authored Jan 3, 2025
1 parent 505f6f2 commit 576b936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/components/post-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{{ .Scratch.Set "prev" .PrevInSection }}
{{ .Scratch.Set "next" .NextInSection }}
{{ else }}
{{ .Scratch.Set "prev" .PrevPage }}
{{ .Scratch.Set "next" .NextPage }}
{{ .Scratch.Set "prev" .Prev }}
{{ .Scratch.Set "next" .Next }}
{{ end }}
{{ $prev := .Scratch.Get "prev" }}
{{ $next := .Scratch.Get "next" }}
Expand Down

0 comments on commit 576b936

Please sign in to comment.