diff options
-rw-r--r-- | layouts/partials/posts/post-list.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/posts/post-list.html b/layouts/partials/posts/post-list.html index b079894..7b781f4 100644 --- a/layouts/partials/posts/post-list.html +++ b/layouts/partials/posts/post-list.html @@ -26,6 +26,7 @@ </article> {{ end }} +{{ if gt $paginator.TotalPages 1 }} <nav class="navigation pagination" role="navigation"> <h2 class="screen-reader-text">Posts navigation</h2> <div class="nav-links"> @@ -51,4 +52,5 @@ </a> {{ end }} </div> -</nav>
\ No newline at end of file +</nav> +{{ end }}
\ No newline at end of file |