From 6027f7cfdc537b68d08c506eb0dc9a637050fb14 Mon Sep 17 00:00:00 2001 From: CJ Eller Date: Fri, 28 Feb 2020 21:24:52 +0000 Subject: [PATCH 1/4] Fixed pagination for Novel --- templates/chorus-collection.tmpl | 4 ++-- templates/collection.tmpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/chorus-collection.tmpl b/templates/chorus-collection.tmpl index 1f89471..b996ca4 100644 --- a/templates/chorus-collection.tmpl +++ b/templates/chorus-collection.tmpl @@ -90,11 +90,11 @@ body#collection header nav.tabs a:first-child { {{if gt .TotalPages 1}}{{end}} diff --git a/templates/collection.tmpl b/templates/collection.tmpl index 89e2e21..ce30dbd 100644 --- a/templates/collection.tmpl +++ b/templates/collection.tmpl @@ -90,11 +90,11 @@ {{if gt .TotalPages 1}}{{end}} From e140fe139f9547b6aacae7702b8bcd87479bd1c7 Mon Sep 17 00:00:00 2001 From: CJ Eller <45696734+cjeller1592@users.noreply.github.com> Date: Fri, 28 Feb 2020 16:30:13 -0500 Subject: [PATCH 2/4] Add {{end}} on line 97 --- templates/collection.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/collection.tmpl b/templates/collection.tmpl index ce30dbd..3694d07 100644 --- a/templates/collection.tmpl +++ b/templates/collection.tmpl @@ -94,7 +94,7 @@ {{if lt .CurrentPage .TotalPages}}{{if and .Format.Ascending (lt .CurrentPage .TotalPages)}}Next{{else}}Older{{end}} ⇢{{end}} {{else}} {{if lt .CurrentPage .TotalPages}}⇠ Older{{end}} - {{if gt .CurrentPage 1}}{{if and .Format.Ascending (le .CurrentPage .TotalPages)}}Previous{{else}}Newer{{end}} ⇢ + {{if gt .CurrentPage 1}}{{if and .Format.Ascending (le .CurrentPage .TotalPages)}}Previous{{else}}Newer{{end}} ⇢{{end}} {{end}} {{end}} From 540d716d295259e38efa894023b6cf42e54788f1 Mon Sep 17 00:00:00 2001 From: CJ Eller <45696734+cjeller1592@users.noreply.github.com> Date: Fri, 27 Mar 2020 11:22:16 -0400 Subject: [PATCH 3/4] Apply review edits --- templates/collection.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/collection.tmpl b/templates/collection.tmpl index 3694d07..3abcc83 100644 --- a/templates/collection.tmpl +++ b/templates/collection.tmpl @@ -89,12 +89,12 @@ {{template "posts" .}} {{if gt .TotalPages 1}}{{end}} From f11e6ed843cf1dfdc52bb075c1767e4ea205cee8 Mon Sep 17 00:00:00 2001 From: CJ Eller <45696734+cjeller1592@users.noreply.github.com> Date: Fri, 27 Mar 2020 11:22:35 -0400 Subject: [PATCH 4/4] Apply review edits to chorus-collection --- templates/chorus-collection.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/chorus-collection.tmpl b/templates/chorus-collection.tmpl index b996ca4..a8e806c 100644 --- a/templates/chorus-collection.tmpl +++ b/templates/chorus-collection.tmpl @@ -89,12 +89,12 @@ body#collection header nav.tabs a:first-child { {{template "posts" .}} {{if gt .TotalPages 1}}{{end}}