diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-05-06 00:41:59 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-05-06 00:41:59 -0700 |
commit | e56f5d61c66c119f2b7a8111df50b2b19c41e5b0 (patch) | |
tree | 39688ea67bc6c409e2107db91e3f6facb742953f /pyblog | |
parent | 09e7f010e7b94bd1922aff61c9fe70729b7a6698 (diff) | |
download | my_new_personal_website-e56f5d61c66c119f2b7a8111df50b2b19c41e5b0.tar.xz my_new_personal_website-e56f5d61c66c119f2b7a8111df50b2b19c41e5b0.zip |
fix minor invalid HTML issues
Diffstat (limited to 'pyblog')
-rwxr-xr-x | pyblog | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |