aboutsummaryrefslogtreecommitdiff
path: root/pyblog
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2015-05-06 00:41:59 -0700
committerZhiming Wang <zmwangx@gmail.com>2015-05-06 00:41:59 -0700
commite56f5d61c66c119f2b7a8111df50b2b19c41e5b0 (patch)
tree39688ea67bc6c409e2107db91e3f6facb742953f /pyblog
parent09e7f010e7b94bd1922aff61c9fe70729b7a6698 (diff)
downloadmy_new_personal_website-e56f5d61c66c119f2b7a8111df50b2b19c41e5b0.tar.xz
my_new_personal_website-e56f5d61c66c119f2b7a8111df50b2b19c41e5b0.zip
fix minor invalid HTML issues
Diffstat (limited to 'pyblog')
-rwxr-xr-xpyblog2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyblog b/pyblog
index c6945734..6d051c9c 100755
--- a/pyblog
+++ b/pyblog
@@ -205,7 +205,7 @@ def generate_index(feed):
if date.year < year:
# write a new <h2 class="toc"> tag with the smaller year
year = date.year
- tocbuff.write(u'\n<h2 class="toc" id="{0}" datetime="{0}">{0}</h2>\n\n'.format(year))
+ tocbuff.write(u'\n<h2 class="toc" id="{0}">{0}</h2>\n\n'.format(year))
# write a new <li> entry (<ul>) in Markdown, in the format:
# * <time class="tocdate" datetime="2015-05-05T00:06:04-0700">May 5</time>