]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/atomitem.tmpl
(no commit message)
[git.ikiwiki.info.git] / templates / atomitem.tmpl
index 1b1d686dddebb0d830e1c32e2c203cf5c03469ff..19c557f305401e800037ad97d96a561d32fa4261 100644 (file)
@@ -1,6 +1,10 @@
 <entry>
        <title><TMPL_VAR TITLE></title>
-       <id><TMPL_VAR URL></id>
+       <TMPL_IF NAME="GUID">
+         <id><TMPL_VAR GUID></id>
+       <TMPL_ELSE>
+         <id><TMPL_VAR URL></id>
+       </TMPL_IF>
        <link href="<TMPL_VAR PERMALINK>"/>
        <TMPL_IF NAME="AUTHOR">
         <author><name><TMPL_VAR AUTHOR ESCAPE=HTML></name></author>