diff options
author | Stefan Ritter <xeno@thehappy.de> | 2010-02-17 11:50:43 +0100 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2010-02-17 11:50:43 +0100 |
commit | 2676322ded345d1bc2bfffa3381d784d75eb5b12 (patch) | |
tree | abf729f80e26e7315cf55092429f1f9c0b60bb65 | |
parent | d8b98ca5fbae68a4c15612f59f56cd70b38123df (diff) |
Remove leading dot in title from staticpages
-rwxr-xr-x | blogthon.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
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 ' <div class="entry">' - print ' <div class="entry_title">' + re.sub('\d+?-', '', static_display) + '</div>' + print ' <div class="entry_title">' + re.sub('^\.', '', re.sub('\d+?-', '', static_display)) + '</div>' print ' <div class="entry_content">' print ' <p>' for line in content: |