[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r18012: {website} Attempt to create valid html by not putting a link tag in th (in website/trunk: en include)



Author: sebastian
Date: 2009-01-07 11:35:22 -0500 (Wed, 07 Jan 2009)
New Revision: 18012

Modified:
   website/trunk/en/download.wml
   website/trunk/include/head.wmi
Log:
Attempt to create valid html by not putting a link tag in the download page

This is a very hackish way of doing this, and I would love to be shown that it's all wrong and there's a better way.

Modified: website/trunk/en/download.wml
===================================================================
--- website/trunk/en/download.wml	2009-01-07 16:31:00 UTC (rev 18011)
+++ website/trunk/en/download.wml	2009-01-07 16:35:22 UTC (rev 18012)
@@ -2,7 +2,7 @@
 # Revision: $Revision$
 # Translation-Priority: 1-high
 
-#include "head.wmi" TITLE="Tor: Download" charset="UTF-8"
+#include "head.wmi" TITLE="Tor: Download" CHARSET="UTF-8" ANNOUNCE_RSS="yes"
 
 <div class="main-column">
 
@@ -149,8 +149,6 @@
 the list's RSS feed</a>.
 </p>
 
-<link rel="alternate" title="Tor Project OR-announce" href="http://rss.gmane.org/gmane.network.onion-routing.announce"; type="application/rss+xml" />
-
 <form action="http://freehaven.net/cgi-bin/majordomo.cgi";>
 <input type="hidden" name="mlist" value="or-announce">
 <input type="hidden" name="subscribe" value="1">

Modified: website/trunk/include/head.wmi
===================================================================
--- website/trunk/include/head.wmi	2009-01-07 16:31:00 UTC (rev 18011)
+++ website/trunk/include/head.wmi	2009-01-07 16:35:22 UTC (rev 18012)
@@ -19,6 +19,7 @@
   <ifeq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/stylesheet-ltr.css" />">
   <link rel="shortcut icon" type="image/x-icon" href="$(DOCROOT)/favicon.ico" />
   <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)" />">
+  <ifeq "$(ANNOUNCE_RSS)" "yes" "<link rel="alternate" title="Tor Project OR-announce" href="http://rss.gmane.org/gmane.network.onion-routing.announce"; type="application/rss+xml" />">
 </head>
 
 <body>