web commit by http://joey.kitenet.net/: mail bug fixed, final test
[ikiwiki.git] / templates / atomitem.tmpl
index e0f7bb4f9bddd613f8468934cdb14de195e90f47..00551929615bd5c366df0fd567b5e1f06c2f04b5 100644 (file)
        </TMPL_LOOP>
        </TMPL_IF>
        <updated><TMPL_VAR DATE_3339></updated>
+       <TMPL_IF NAME="ENCLOSURE">
+       <link rel="enclosure" type="<TMPL_VAR TYPE>" href="<TMPL_VAR ENCLOSURE>" length="<TMPL_VAR LENGTH>" />
+       <TMPL_ELSE>
        <content type="xhtml" xml:lang="en">
         <div xmlns="http://www.w3.org/1999/xhtml">
         ![CDATA[<TMPL_VAR CONTENT>]]
         </div>
        </content>
+       </TMPL_IF>
 </entry>