diff --git a/Gmeek.py b/Gmeek.py index fa57117..3f565d8 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -136,6 +136,11 @@ class GMEEK(): issue["script"]=issue["script"]+'' postBase["postTitle"]=issue["postTitle"] + postBase["postUrl"]=self.blogBase["homeUrl"]+"/"+issue["postUrl"] + postBase["description"]=issue["description"] + postBase["createdDate"]=issue["createdDate"] + postBase["author"]=self.blogBase["title"] + postBase["avatarUrl"]=self.blogBase["avatarUrl"] postBase["postBody"]=post_body postBase["commentNum"]=issue["commentNum"] postBase["style"]=issue["style"] diff --git a/templates/post.html b/templates/post.html index e774b83..bd5d94d 100644 --- a/templates/post.html +++ b/templates/post.html @@ -1,7 +1,13 @@ {% extends 'base.html' %} {% block head %} - + + + + + + +