From 2c671727eaf51b77eb24b0401e92769ad5bea261 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 25 Feb 2020 21:32:04 +0000 Subject: [PATCH] Make content warning style inactive on blog --- blog.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blog.py b/blog.py index 2641ec5b..802c42bb 100644 --- a/blog.py +++ b/blog.py @@ -193,6 +193,7 @@ def htmlBlogPost(authorized: bool, \ with open(cssFilename, 'r') as cssFile: blogCSS=cssFile.read() blogStr=htmlHeader(cssFilename,blogCSS) + blogStr=blogStr.replace('.cwText','.cwTextInactive') blogStr+= \ htmlBlogPostContent(authorized,baseDir,httpPrefix,translate, \ @@ -218,6 +219,7 @@ def htmlBlogPage(authorized: bool, session, \ with open(cssFilename, 'r') as cssFile: blogCSS=cssFile.read() blogStr=htmlHeader(cssFilename,blogCSS) + blogStr=blogStr.replace('.cwText','.cwTextInactive') blogsIndex= \ baseDir+'/accounts/'+nickname+'@'+domain+'/tlblogs.index'