From d9b3333556fc8d97c20ec1d7b525e27cab6903aa Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Sat, 17 Aug 2019 00:01:57 +0200 Subject: [PATCH] Fix pagination for "stable archives" in themes. Timeline and Bulletproof have pagination. Both need to swap the prev/next links for stable archives, as the sorting order has been reversed. Signed-off-by: Thomas Hochstein --- templates/bulletproof/entries.tpl | 16 ++++++++++++---- templates/timeline/entries.tpl | 16 ++++++++++++---- templates/timeline/index.tpl | 16 ++++++++++++---- 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/templates/bulletproof/entries.tpl b/templates/bulletproof/entries.tpl index 5a8a70a7..143bf521 100644 --- a/templates/bulletproof/entries.tpl +++ b/templates/bulletproof/entries.tpl @@ -418,6 +418,14 @@ {if $template_option.show_pagination == 'true' && $footer_totalPages > 1} {/if} diff --git a/templates/timeline/entries.tpl b/templates/timeline/entries.tpl index dcb2ce06..2f9c641f 100644 --- a/templates/timeline/entries.tpl +++ b/templates/timeline/entries.tpl @@ -285,6 +285,14 @@ {if $footer_totalPages >1 } {/if} diff --git a/templates/timeline/index.tpl b/templates/timeline/index.tpl index a2c78086..8f5fd10d 100644 --- a/templates/timeline/index.tpl +++ b/templates/timeline/index.tpl @@ -114,6 +114,14 @@ {if $footer_totalPages >1 && !isset($staticpage_pagetitle)} {/if}