diff --git a/layouts/partials/pagination.html b/layouts/partials/pagination.html index 8b28942..3567021 100644 --- a/layouts/partials/pagination.html +++ b/layouts/partials/pagination.html @@ -1,20 +1,8 @@ - +{{ if .Paginator.HasPrev }} + +{{ end }} +{{ if .Paginator.HasNext }} + +{{ end }} + \ No newline at end of file diff --git a/layouts/partials/posts_pagination.html b/layouts/partials/posts_pagination.html index ee5b3cf..ed085fc 100644 --- a/layouts/partials/posts_pagination.html +++ b/layouts/partials/posts_pagination.html @@ -1,10 +1,8 @@ -{{ if or .NextInSection .PrevInSection }}
- {{ if .NextInSection }} - - {{ end }} - {{ if .PrevInSection }} - - {{ end }} -
+{{ if .NextInSection }} + {{ end }} +{{ if .PrevInSection }} + +{{ end }} + \ No newline at end of file