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 = \
|
cwContentStr = \
|
||||||
insertQuestion(baseDir, translate, nickname, domain, port,
|
insertQuestion(baseDir, translate, nickname, domain, port,
|
||||||
cwContentStr, postJsonObject, pageNumber)
|
cwContentStr, postJsonObject, pageNumber)
|
||||||
|
if not isBlogPost(postJsonObject):
|
||||||
# get the content warning button
|
# get the content warning button
|
||||||
contentStr += getContentWarningButton(postID, translate, cwContentStr)
|
contentStr += getContentWarningButton(postID, translate, cwContentStr)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue