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