From e56f5d61c66c119f2b7a8111df50b2b19c41e5b0 Mon Sep 17 00:00:00 2001 From: Zhiming Wang Date: Wed, 6 May 2015 00:41:59 -0700 Subject: fix minor invalid HTML issues --- .gitattributes | 1 + pyblog | 2 +- source/css/theme.css | 2 ++ source/img/.gitattributes | 1 - templates/template.html | 6 +++--- 5 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .gitattributes delete mode 100644 source/img/.gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..58da6937 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.svg binary 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

tag with the smaller year year = date.year - tocbuff.write(u'\n

{0}

\n\n'.format(year)) + tocbuff.write(u'\n

{0}

\n\n'.format(year)) # write a new
  • entry (