mirror of https://gitlab.com/bashrc2/epicyon
Clearer breaks between blog entries
parent
bc09384db6
commit
aad70a5970
8
blog.py
8
blog.py
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue