diff options
Diffstat (limited to 'overview.rb')
-rw-r--r-- | overview.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/overview.rb b/overview.rb index d2a5ee7..80b2fae 100644 --- a/overview.rb +++ b/overview.rb @@ -9,8 +9,10 @@ require "datepoll" $htmlout += <<HEAD <head> -<title>dudle</title> -<link rel="alternate" type="application/atom+xml" href="atom.cgi" /> + <title>dudle</title> + <meta http-equiv="Content-Type" content="#{TYPE}; charset=#{CHARSET}" /> + <meta http-equiv="Content-Style-Type" content="text/css" /> + <link rel="alternate" type="application/atom+xml" href="atom.cgi" /> </head> <body> HEAD @@ -23,6 +25,7 @@ if $cgi.include?("create_poll") VCS.init File.symlink("../index.cgi","index.cgi") File.symlink("../atom.cgi","atom.cgi") + File.symlink("../config.cgi","config.cgi") File.open("data.yaml","w").close VCS.add("data.yaml") case $cgi["poll_type"] @@ -86,6 +89,6 @@ $htmlout += <<CREATE CREATE $htmlout += NOTICE -$htmlout += "</body></html>" +$htmlout += "</body>" |