From 2676322ded345d1bc2bfffa3381d784d75eb5b12 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Wed, 17 Feb 2010 11:50:43 +0100 Subject: Remove leading dot in title from staticpages --- blogthon.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blogthon.cgi b/blogthon.cgi index c7ad573..0cf3022 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -445,7 +445,7 @@ else: if static_display != "": content = open(staticpages_dir + static_display, "r") print '
' - print '
' + re.sub('\d+?-', '', static_display) + '
' + print '
' + re.sub('^\.', '', re.sub('\d+?-', '', static_display)) + '
' print '
' print '

' for line in content: -- cgit v1.2.3