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