aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2012-02-23 19:25:18 +0100
committerStefan Ritter <xeno@thehappy.de>2012-02-23 19:25:18 +0100
commit828b7776d00224459b1c0bb42fce38a49137d5a1 (patch)
tree862d5bbec59ae36dd68009489a4b97b571be0b62
parent202fbfd9ac235dbf1d3aaaba4ee1ba4806e08398 (diff)
Add base href to header
-rwxr-xr-xblogthon.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index a9dab8e..87c9eba 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -457,6 +457,7 @@ else:
document_header("html")
print(ind + "<head>")
print(ind*2 + "<title>%s</title>" % blog_title)
+ print(ind*2 + "<base href=\"+s\" />" % blog_url)
print(ind*2 + "<meta charset=\"utf-8\" />")
print(ind*2 + "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />")
print(ind*2 + "<meta name=\"keywords\" content=\"%s\" />" % keywords)