diff --git a/Gmeek.py b/Gmeek.py index d9c782a..bfca9f5 100644 --- a/Gmeek.py +++ b/Gmeek.py @@ -263,7 +263,6 @@ class GMEEK(): listJsonName='singeListJson' htmlFile='{}.html'.format(self.createFileName(issue,useLabel=True)) gen_Html = self.root_dir+htmlFile - else: listJsonName='postListJson' htmlFile='{}.html'.format(self.createFileName(issue)) diff --git a/templates/base.html b/templates/base.html index b5038b1..a1a304d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -8,10 +8,8 @@ {%- if blogBase['themeMode']=='manual' -%} {%- endif -%} {% block head %}{% endblock %} @@ -32,44 +30,37 @@ body{box-sizing: border-box;min-width: 200px;max-width: 900px;margin: 20px auto; {% block script %}{% endblock %} {{ blogBase['script'] }} diff --git a/templates/post.html b/templates/post.html index 493caa2..b6c61c1 100644 --- a/templates/post.html +++ b/templates/post.html @@ -69,7 +69,6 @@ document.getElementById("pathIssue").setAttribute("d",IconList["github"]); span.innerHTML="{{ blogBase['commentNum'] }}"; cmButton.appendChild(span); {%- endif %} - function openComments(){ cm=document.getElementById("comments"); cmButton=document.getElementById("cmButton");