[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debian JP master SVN www commits (rev.124)



=======================================================
Repository: /org/svn.debian.or.jp/repos
  Revision: 124
  Commiter: kmuto
      Date: 2007-01-05 02:09:08 +0900 (金, 05  1月 2007)
=======================================================
Log:

add rss link

=======================================================
Changed:

U   www/trunk/blosxom/data/flavours/maketemplate.pl
U   www/trunk/include/page

Modified: www/trunk/blosxom/data/flavours/maketemplate.pl
===================================================================
--- www/trunk/blosxom/data/flavours/maketemplate.pl	2007-01-04 17:01:17 UTC (rev 123)
+++ www/trunk/blosxom/data/flavours/maketemplate.pl	2007-01-04 17:09:08 UTC (rev 124)
@@ -33,9 +33,6 @@
 	s/\"\.\./\"\//g;
 	s/=\"\/\//=\"\//g;
 	print HEAD;
-	if (/<link rel="Debian-JP icon" /) {
-	    print HEAD "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"\$url/index.rss\" />";
-	}
     } elsif ($flag == 2) {
 	s/\"\.\./\"\//g;
 	s/=\"\/\//=\"\//g;

Modified: www/trunk/include/page
===================================================================
--- www/trunk/include/page	2007-01-04 17:01:17 UTC (rev 123)
+++ www/trunk/include/page	2007-01-04 17:09:08 UTC (rev 124)
@@ -17,6 +17,11 @@
 [% ELSE %]
  <link rel="stylesheet" type="text/css" href="[% WPATH %]css/debianjp.css" media="all">
 [% END %]
+[% IF rss; %]
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="[% PATH %]/[% rss %]">
+[% ELSE %]
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="[% PATH %]/blog/index.rss">
+[% END %]
  <link rev="made" href="webadmin at debian.or.jp">
  <title>Debian JP Project - [% title %]</title>
 </head>