Clearer breaks between blog entries

main
Bob Mottram 2020-05-18 12:17:13 +01:00
parent bc09384db6
commit aad70a5970
1 changed files with 5 additions and 3 deletions

View File

@ -225,7 +225,7 @@ def htmlBlogPostContent(authorized: bool,
'content')
blogStr += '<br>' + contentStr + '\n'
blogStr += '<br><hr>\n'
blogStr += '<br>\n'
if not linkedAuthor:
blogStr += '<p class="about"><a class="about" href="' + \
@ -239,7 +239,8 @@ def htmlBlogPostContent(authorized: bool,
if replies > 0:
if not authorized:
blogStr += '<p class="blogreplies">' + \
translate['Replies'].lower() + ': ' + str(replies) + '</p>\n'
translate['Replies'].lower() + ': ' + str(replies) + \
'</p>'
else:
blogStr += '<h1>' + translate['Replies'] + '</h1>\n'
blogStr += '<script>' + contentWarningScriptOpen() + '</script>\n'
@ -252,7 +253,8 @@ def htmlBlogPostContent(authorized: bool,
nickname, domain, domainFull,
postJsonObject['object']['id'])
blogStr += blogRepliesStr.replace('>' + titleStr + '<', '')
blogStr += '<br><hr>\n'
blogStr += '<br>'
blogStr += '<hr>\n'
return blogStr