diff --git a/Gmeek.py b/Gmeek.py index e206150..f792043 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -94,6 +94,11 @@ class GMEEK(): post_body=self.markdown2html(f.read()) f.close() + if "highlight" in post_body: + postBase["highlight"]=1 + else: + postBase["highlight"]=0 + postBase=self.blogBase.copy() postBase["postTitle"]=issue["postTitle"] postBase["postBody"]=post_body diff --git a/templates/post.html b/templates/post.html index b2b730e..8766367 100644 --- a/templates/post.html +++ b/templates/post.html @@ -2,7 +2,7 @@ {% block head %}