From 037fdf24a7cb0d33180861da0a3fcde98f871f3f Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 25 Feb 2020 18:29:38 +0000 Subject: [PATCH] Remove test code --- blog.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/blog.py b/blog.py index 16211314..4fdebfd7 100644 --- a/blog.py +++ b/blog.py @@ -172,20 +172,20 @@ def htmlBlogPage(session, \ if pageNumber!=None: iconsDir=getIconsDir(baseDir) navigateStr='

' - #if pageNumber>1: - # show previous button - navigateStr+= \ - ''+ \ - '<\n' - #if len(timelineJson['orderedItems'])>=noOfItems: - # show next button - navigateStr+= \ - ''+ \ - '>\n' + if pageNumber>1: + # show previous button + navigateStr+= \ + ''+ \ + '<\n' + if len(timelineJson['orderedItems'])>=noOfItems: + # show next button + navigateStr+= \ + ''+ \ + '>\n' navigateStr+='

' blogStr+=navigateStr