Replies title

merge-requests/6/head
Bob Mottram 2020-02-25 20:57:16 +00:00
parent fed40ed916
commit 5f3f9744fd
1 changed files with 6 additions and 4 deletions

10
blog.py
View File

@ -152,6 +152,11 @@ def htmlBlogPostContent(authorized: bool, \
blogStr+='<br><hr>\n'
if not linkedAuthor:
blogStr+= \
'<p class="about"><a class="about" href="'+httpPrefix+'://'+domainFull+ \
'/users/'+nickname+'">'+translate['About the author']+'</a></p>\n'
if not authorized:
replies= \
noOfBlogReplies(baseDir,httpPrefix,translate, \
@ -162,16 +167,13 @@ def htmlBlogPostContent(authorized: bool, \
'<p class="blogreplies">'+ \
translate['Replies'].lower()+': '+str(replies)+'</p>'
else:
blogStr+='<h1>'+translate['Replies']+'</h1>'
blogStr+= \
getBlogReplies(baseDir,httpPrefix,translate, \
nickname,domain,domainFull, \
postJsonObject)
blogStr+='<br><hr>\n'
if not linkedAuthor:
blogStr+= \
'<p class="about"><a class="about" href="'+httpPrefix+'://'+domainFull+ \
'/users/'+nickname+'">'+translate['About the author']+'</a></p>\n'
return blogStr