aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xblogthon.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 0224fc4..264cd54 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -56,7 +56,7 @@ def document_header(string):
if string == "html":
print "Content-type: text/html\n"
print "<!DOCTYPE html>"
- print "<html>"
+ print "<html lang=\"" + language + "\">"
if string == "atom":
print "Content-type: application/atom+xml\n"
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
@@ -336,6 +336,7 @@ else:
document_header("html")
print tab + "<head>"
print tab*2 + "<title>%s</title>" % blog_title
+ print tab*2 + "<meta charset=\"utf-8\">"
print tab*2 + "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />"
print tab*2 + "<meta name=\"keywords\" content=\"%s\" />" % keywords
print tab*2 + "<meta name=\"description\" content=\"%s\" />" % blog_title