aboutsummaryrefslogtreecommitdiff
path: root/participate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'participate.rb')
-rwxr-xr-xparticipate.rb6
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>