aboutsummaryrefslogtreecommitdiff
path: root/templates/atomitem.tmpl
diff options
context:
space:
mode:
authorSimon McVittie <http://smcv.pseudorandom.co.uk/>2008-07-11 23:46:48 +0100
committerSimon McVittie <http://smcv.pseudorandom.co.uk/>2008-07-11 23:46:48 +0100
commit9f479a83a78cc199d7e7854e4beecd5594e87629 (patch)
treeb628647046205f14270c02a896590bb8208648dc /templates/atomitem.tmpl
parente767f18867bbddb252bd53589676f29dfc75837e (diff)
downloadikiwiki-9f479a83a78cc199d7e7854e4beecd5594e87629.tar
ikiwiki-9f479a83a78cc199d7e7854e4beecd5594e87629.tar.gz
atomitem.tmpl: use UUID as <id> if supplied
Diffstat (limited to 'templates/atomitem.tmpl')
-rw-r--r--templates/atomitem.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/atomitem.tmpl b/templates/atomitem.tmpl
index 1b1d686dd..fdc629e39 100644
--- a/templates/atomitem.tmpl
+++ b/templates/atomitem.tmpl
@@ -1,6 +1,10 @@
<entry>
<title><TMPL_VAR TITLE></title>
- <id><TMPL_VAR URL></id>
+ <TMPL_IF NAME="UUID">
+ <id><TMPL_VAR UUID></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>