Skip to content

Commit

Permalink
cleaned code
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeshGhadage committed Dec 12, 2024
1 parent 9b607c5 commit e29bae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/posts_navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
{{$prev = $.Site.GetPage $.Site.Language.Lang .}}
{{ end }}

{{- with .Params.next -}}
{{ with .Params.next }}
{{$next = $.Site.GetPage $.Site.Language.Lang .}}
{{- end -}}
{{ end }}

{{ if or $prev $next }}
<nav class="pagenav">
Expand Down

0 comments on commit e29bae7

Please sign in to comment.