diff --git a/blog.py b/blog.py index ddc66a0b..4c921082 100644 --- a/blog.py +++ b/blog.py @@ -35,8 +35,11 @@ def htmlBlogPostContent(baseDir: str,httpPrefix: str,translate: {}, \ linkedAuthor=False actor='' blogStr='' + messageLink='' + if postJsonObject['object'].get('id'): + messageLink=postJsonObject['object']['id'].replace('/statuses/','/') if postJsonObject['object'].get('summary'): - blogStr+='

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

\n' + blogStr+='

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

\n' # get the handle of the author if postJsonObject['object'].get('attributedTo'):