Remove unused markup if there are no timeline items

main
Bob Mottram 2021-02-06 12:16:55 +00:00
parent 69f14261c8
commit d2633867a3
1 changed files with 5 additions and 4 deletions

View File

@ -671,11 +671,12 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
translate['Page down'] + '"></a>\n' + \
' </center>\n'
# end of timeline-posts
tlStr += ' </div>\n'
if itemCtr > 0:
# end of timeline-posts
tlStr += ' </div>\n'
# end of column-center
tlStr += ' </td>\n'
# end of column-center
tlStr += ' </td>\n'
# right column
rightColumnStr = getRightColumnContent(baseDir, nickname, domainFull,