From b56158b63725362bc1c85f6cb3d23b5bf506e1a8 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 12 May 2019 23:45:41 +0200 Subject: Fix some css issues --- pyblog | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pyblog') diff --git a/pyblog b/pyblog index e44d2719..f4ae79ab 100755 --- a/pyblog +++ b/pyblog @@ -281,7 +281,7 @@ def generate_blog_list(feed): div_blog_list += u'\n' # write a new

tag with the smaller year year = date.year - div_blog_list += u'\n

{0}

\n\n'.format(year) + div_blog_list += u'\n

.:{0}:.

\n\n'.format(year) div_blog_list += u'\n' table_opened = True @@ -360,7 +360,7 @@ def generate_notes_list(): div_notes_list += u'
\n' # write a new

tag with the smaller year year = date.year - div_notes_list += u'\n

{0}

\n\n'.format(year) + div_notes_list += u'\n

.:{0}:.

\n\n'.format(year) div_notes_list += u'\n' table_opened = True @@ -418,7 +418,7 @@ def generate_index(feed): tocbuff.write(u'
\n') # 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)) tocbuff.write(u'\n') table_opened = True @@ -607,7 +607,7 @@ def rewrite_title(): h1_title = [] for myh2 in soup.find_all("h2"): - if re.match("^(?!.*article-title).*$", str(myh2)): + if re.match("^(?!.*blog-index-year-title).*$", str(myh2)): h2_id = myh2['id'] h2_name = myh2.string -- cgit v1.2.1