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