atomitem.tmpl: include comments URLs (HTML and Atom versions)
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 21 Dec 2008 17:16:12 +0000 (17:16 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 21 Dec 2008 17:16:12 +0000 (17:16 +0000)
templates/atomitem.tmpl

index 1ff7f4f4eff5a2a4e4e1ce3d989faaad8401d1b6..768695a2ca0d434e376cdf1b1de7325376b5aa49 100644 (file)
          <TMPL_VAR CONTENT ESCAPE=HTML>
         </content>
        </TMPL_IF>
+       <TMPL_IF NAME="COMMENTSURL">
+       <link rel="comments" href="<TMPL_VAR NAME="COMMENTSURL">" type="text/html" />
+       </TMPL_IF>
+       <TMPL_IF NAME="ATOMCOMMENTSURL">
+       <link rel="comments" href="<TMPL_VAR NAME="ATOMCOMMENTSURL">" type="application/atom+xml" />
+       </TMPL_IF>
 </entry>