forked from indymedia/epicyon
Don't add content warning button to blog posts
parent
e81f7e618e
commit
4b488526ba
|
@ -4182,8 +4182,9 @@ def individualPostAsHtml(recentPostsCache: {}, maxRecentPosts: int,
|
|||
cwContentStr = \
|
||||
insertQuestion(baseDir, translate, nickname, domain, port,
|
||||
cwContentStr, postJsonObject, pageNumber)
|
||||
# get the content warning button
|
||||
contentStr += getContentWarningButton(postID, translate, cwContentStr)
|
||||
if not isBlogPost(postJsonObject):
|
||||
# get the content warning button
|
||||
contentStr += getContentWarningButton(postID, translate, cwContentStr)
|
||||
|
||||
if postJsonObject['object'].get('tag') and not isPatch:
|
||||
contentStr = \
|
||||
|
|
Loading…
Reference in New Issue