diff options
author | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-07-15 16:25:09 +0200 |
---|---|---|
committer | Benjamin Kellermann <Benjamin.Kellermann@gmx.de> | 2009-07-15 16:25:09 +0200 |
commit | 027b948150e9c709fc721a0a2951b0d10a6eebb8 (patch) | |
tree | 1eb38ad03c1f5b96bd5f9327126a37093afe82a8 /participate.rb | |
parent | 0454e991760f7e7bf0d5fe552cc6f045fbaa5ed2 (diff) |
atom wird nur angeboten, wenn atom.cgi existiert
Diffstat (limited to 'participate.rb')
-rwxr-xr-x | participate.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/participate.rb b/participate.rb index e9f5e82..8acd9f1 100755 --- a/participate.rb +++ b/participate.rb @@ -62,7 +62,11 @@ $htmlout += <<HEAD <link rel="stylesheet" type="text/css" href="../dudle.css" title="default"/> <link rel="stylesheet" type="text/css" href="../print.css" title="print" media="print" /> <link rel="stylesheet" type="text/css" href="../print.css" title="print" /> - <link rel="alternate" type="application/atom+xml" href="atom.cgi" /> +HEAD + +$htmlout += '<link rel="alternate" type="application/atom+xml" href="atom.cgi" />' if File.exists?("../atom_single.rb") + +$htmlout += <<HEAD </head> <body> <div> |