summaryrefslogtreecommitdiff
path: root/templates/atomitem.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-12 10:43:22 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-12 10:43:22 -0400
commit0fe87efc348643e30405f2d50c8498c971b99af4 (patch)
tree022daf42e8750b7dd5e1eb7a3b4d7874530fed8d /templates/atomitem.tmpl
parenta0f596b6ed4594011b07cf7af2d2d55aa78d8be1 (diff)
parent9c6444bf681ec48e3832282906d1d2cfad586cb5 (diff)
Merge commit 'smcv/force-uuids' into force-uuids
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>