]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/rssitem.tmpl
factor out check_canattach
[git.ikiwiki.info.git] / templates / rssitem.tmpl
index f22e5e3fb99c3cba669bccc860618559aad4de5a..1144cd5e2b940ac2acd35b85c7ba50dde2b77f68 100644 (file)
@@ -5,7 +5,11 @@
        <TMPL_ELSE>
        <title><TMPL_VAR TITLE></title>
        </TMPL_IF>
-       <guid><TMPL_VAR URL></guid>
+       <TMPL_IF NAME="GUID">
+         <guid isPermaLink="no"><TMPL_VAR GUID></guid>
+       <TMPL_ELSE>
+         <guid><TMPL_VAR URL></guid>
+       </TMPL_IF>
        <link><TMPL_VAR PERMALINK></link>
        <TMPL_IF NAME="CATEGORIES">
        <TMPL_LOOP NAME="CATEGORIES">