diff --git a/webinterface.py b/webinterface.py index c01abd82..438dd9db 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5018,29 +5018,29 @@ def htmlBlogPost(baseDir: str,httpPrefix: str,translate: {}, \ print("Test cssFilename loaded 2") blogStr=htmlHeader(cssFilename,blogCSS) - print("Test cssFilename loaded 3") + print("Test cssFilename loaded 3 "+blogStr) if postJsonObject['object'].get('summary'): - blogStr+='

'+postJsonObject['object']['summary']+'

' + blogStr+='

'+postJsonObject['object']['summary']+'

\n' - print("Test cssFilename loaded 4") + print("Test cssFilename loaded 4 "+blogStr) if postJsonObject['object'].get('published'): if 'T' in postJsonObject['object']['published']: - blogStr+='

'+postJsonObject['object']['published'].split('T')[0]+'

' + blogStr+='

'+postJsonObject['object']['published'].split('T')[0]+'

\n' - print("Test cssFilename loaded 5") + print("Test cssFilename loaded 5 "+blogStr) if postJsonObject['object'].get('content'): contentStr=addEmbeddedElements(translate,postJsonObject['object']['content']) if postJsonObject['object'].get('tag'): contentStr= \ replaceEmojiFromTags(contentStr, \ postJsonObject['object']['tag'],'content') - blogStr+=contentStr + blogStr+=contentStr+'\n' - print("Test cssFilename loaded 6") - blogStr+='
' + print("Test cssFilename loaded 6 "+blogStr) + blogStr+='
\n' blogStr+= \ '

'+translate['About the author']+'

' + '/users/'+nickname+'">'+translate['About the author']+'

\n' print("Test blogStr="+blogStr) return blogStr+htmlFooter()