From ba0aca3e2b83bde4e2fdcf01b21c1c848510564a Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 19 Apr 2018 18:20:35 +0300 Subject: [PATCH] layouts/_default/list.html: Use pagination partial Now that we're using the same pagination code on lists and taxonomy pages we should reuse the code by putting it in a partial. --- layouts/_default/list.html | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index d287dd9..6ee6dbc 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -40,20 +40,7 @@ {{ end }} {{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }} - +{{ partial "pagination.html" . }} {{ end }} {{ end }}