Reduce indentation

main
Bob Mottram 2020-12-01 10:30:24 +00:00
parent 963f8dc696
commit a84e060f5e
1 changed files with 282 additions and 280 deletions

View File

@ -646,8 +646,7 @@ def getBlogCitationsHtml(boxName: str,
'<cite>' + tagJson['name'] + '</cite></a></li>\n'
if citationsStr:
citationsStr = '<p><b>' + translate['Citations'] + \
':</b></p>' + \
citationsStr = '<p><b>' + translate['Citations'] + ':</b></p>' + \
'<ul>\n' + citationsStr + '</ul>\n'
return citationsStr
@ -676,7 +675,10 @@ def getPostTitleHtml(baseDir: str,
"""
titleStr = ''
replyAvatarImageInPost = ''
if showRepeatIcon:
if not showRepeatIcon:
return (titleStr, replyAvatarImageInPost,
containerClassIcons, containerClass)
if isAnnounced:
if postJsonObject['object'].get('attributedTo'):
attributedTo = ''