From cb0ca458e3ede8d17e5f9b3673694fbdebb4366d Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Thu, 4 Dec 2008 03:13:32 +0000 Subject: [PATCH] MINOR: tidied up blog pagination template --- templates/Includes/BlogPagination.ss | 32 +++++++++++++++------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/templates/Includes/BlogPagination.ss b/templates/Includes/BlogPagination.ss index 29a3c25..e43a2e6 100644 --- a/templates/Includes/BlogPagination.ss +++ b/templates/Includes/BlogPagination.ss @@ -1,21 +1,23 @@ <% if BlogEntries.MoreThanOnePage %>
- <% if BlogEntries.NotLastPage %> - - <% end_if %> +

+ <% if BlogEntries.NotFirstPage %> + + <% end_if %> - <% if BlogEntries.NotFirstPage %> - - <% end_if %> + + <% control BlogEntries.Pages %> + <% if CurrentBool %> + $PageNum + <% else %> + $PageNum + <% end_if %> + <% end_control %> + - - <% control BlogEntries.Pages %> - <% if CurrentBool %> - $PageNum - <% else %> - $PageNum - <% end_if %> - <% end_control %> - + <% if BlogEntries.NotLastPage %> + + <% end_if %> +

<% end_if %> \ No newline at end of file