[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt Add link to RSS feed if available.

Charlie Clark charlie at begeistert.org
Wed Oct 6 05:29:53 EDT 2010


Log message for revision 117275:
  Add link to RSS feed if available.

Changed:
  U   Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt

-=-
Modified: Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt	2010-10-06 09:15:22 UTC (rev 117274)
+++ Products.CMFDefault/trunk/Products/CMFDefault/skins/absolut/main_template.pt	2010-10-06 09:29:53 UTC (rev 117275)
@@ -5,7 +5,8 @@
                   object_title globals/object_title;
                   object_description globals/object_description;
                   atool globals/atool;
-                  mtool globals/mtool"
+                  mtool globals/mtool;
+                  syndtool globals/syndtool"
       i18n:domain="cmf_default">
 <head>
 
@@ -20,18 +21,22 @@
 
  <meta name="content-type" content="text/html; charset=utf-8" />
 
- <link rel="stylesheet" type="text/css"
+  <link rel="stylesheet" type="text/css"
       tal:attributes="href string:${portal_url}/css/cmf.css"
       href="cmf.css" media="screen" />
- <link rel="stylesheet" type="text/css"
+  <link rel="stylesheet" type="text/css"
       tal:attributes="href string:${portal_url}/css/screen.css"
       href="/screen.css" media="screen"/>
   <link rel="stylesheet" type="text/css"
         tal:attributes="href string:${portal_url}/css/icons.css"
         href="/icons.css" media="screen"/>
- <link rel="stylesheet" type="text/css"
+  <link rel="stylesheet" type="text/css"
       tal:attributes="href string:${portal_url}/css/print.css"
       href="print.css" media="print" />
+  <link rel="alternate" type="application/rss+xml"
+        tal:condition="python: syndtool.isSyndicationAllowed(context)"
+        tal:attributes="href string:${context/absolute_url}/@@rss.xml;
+                        title context/Title" />
 
  <metal:slot define-slot="base" />
  <metal:slot define-slot="styles" />



More information about the checkins mailing list