aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
authorDisco-STU <discostu@horion.network1.lan>2009-05-20 17:13:30 +0200
committerDisco-STU <discostu@horion.network1.lan>2009-05-20 17:13:30 +0200
commit0f9a7136ff2e83c391091f23231fe42b0ca31576 (patch)
treea6d9d468898c0eb0f46e97a13ea5937dfb651a1a /blogthon.cgi
parentb4fac7f4556af72ad64f7993775e220cfff6bc38 (diff)
Added a Subtitle an created the style: ...
I have added a subtitle to the configuration file an edit the blogthon.cgi that the subtitle is readed out the config. Also I have edit the blogthon.css: the header are no longer a "table".
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-xblogthon.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index c9341a6..cac3b92 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -58,6 +58,8 @@ configuration.read('configuration')
try: blog_title = configuration.get('personal', 'blog_title')
except: errorpage("blog_title")
+try: blog_subtitle = configuration.get('personal', 'blog_subtitle')
+except: errorpage("blog_subtitle")
try: blog_url = configuration.get('personal', 'blog_url')
except: errorpage("blog_url")
try: keywords = configuration.get('personal', 'keywords')
@@ -206,6 +208,9 @@ else:
print ' <div class="header_title">'
print ' <a href="?" class="header_link">' + blog_title + '</a>'
print ' </div>'
+ print ' <div class="header_subtitle">'
+ print ' <span class="header_subtitle">' + blog_subtitle + '</span>'
+ print ' </div>'
print ' </div>'
print ''
# RSS feed