diff --git a/blog.py b/blog.py
index 6720f47d..55a53b1a 100644
--- a/blog.py
+++ b/blog.py
@@ -160,30 +160,29 @@ def htmlBlogPostContent(authorized: bool, \
'
'+translate['About the author']+'
\n'
- if not authorized:
- replies= \
- noOfBlogReplies(baseDir,httpPrefix,translate, \
- nickname,domain,domainFull, \
- postJsonObject)
- if replies>0:
+ replies= \
+ noOfBlogReplies(baseDir,httpPrefix,translate, \
+ nickname,domain,domainFull, \
+ postJsonObject)
+ if replies>0:
+ if not authorized:
blogStr+= \
''+ \
translate['Replies'].lower()+': '+str(replies)+'
\n'
- else:
- blogStr+=''+translate['Replies']+'
\n'
- blogStr+='\n'
- if not titleStr:
- blogStr+= \
- getBlogReplies(baseDir,httpPrefix,translate, \
- nickname,domain,domainFull, \
- postJsonObject)
else:
- blogStr+= \
- getBlogReplies(baseDir,httpPrefix,translate, \
- nickname,domain,domainFull, \
- postJsonObject).replace('>'+titleStr+'<','')
- blogStr+='
\n'
-
+ blogStr+=''+translate['Replies']+'
\n'
+ blogStr+='\n'
+ if not titleStr:
+ blogStr+= \
+ getBlogReplies(baseDir,httpPrefix,translate, \
+ nickname,domain,domainFull, \
+ postJsonObject)
+ else:
+ blogStr+= \
+ getBlogReplies(baseDir,httpPrefix,translate, \
+ nickname,domain,domainFull, \
+ postJsonObject).replace('>'+titleStr+'<','')
+ blogStr+='
\n'
return blogStr