From 7cff78c3d1da35375fd8f349d1ee44bcc618cd32 Mon Sep 17 00:00:00 2001 From: iBug Date: Sat, 1 Aug 2020 21:43:40 +0800 Subject: [PATCH 1/8] Add paginator-v2.html --- .../{paginator.html => paginator-v1.html} | 0 _includes/paginator-v2.html | 71 +++++++++++++++++++ 2 files changed, 71 insertions(+) rename _includes/{paginator.html => paginator-v1.html} (100%) create mode 100644 _includes/paginator-v2.html diff --git a/_includes/paginator.html b/_includes/paginator-v1.html similarity index 100% rename from _includes/paginator.html rename to _includes/paginator-v1.html diff --git a/_includes/paginator-v2.html b/_includes/paginator-v2.html new file mode 100644 index 000000000000..ad5696408e76 --- /dev/null +++ b/_includes/paginator-v2.html @@ -0,0 +1,71 @@ +{% if paginator.total_pages > 1 %} + +{% endif %} From 77bdbc20807ef3b7483c45632711cfabad8e6e94 Mon Sep 17 00:00:00 2001 From: iBug Date: Sat, 1 Aug 2020 21:47:14 +0800 Subject: [PATCH 2/8] Create new v1/v2 selector, improve v1 code --- _includes/paginator-v1.html | 4 ++-- _includes/paginator.html | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 _includes/paginator.html diff --git a/_includes/paginator-v1.html b/_includes/paginator-v1.html index bffa0794678e..e997486c07ee 100644 --- a/_includes/paginator-v1.html +++ b/_includes/paginator-v1.html @@ -1,6 +1,6 @@ {% if paginator.total_pages > 1 %}