summaryrefslogtreecommitdiff
path: root/atomitem.tmpl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-08-01 21:22:15 +0200
committerJonas Smedegaard <dr@jones.dk>2008-08-01 21:22:15 +0200
commit99ff7fe6182351cf42af74b36305464fc3a64caf (patch)
tree98e3d8dbf94ff75a17424ad4023cafd0a331d326 /atomitem.tmpl
parenta9881763464190d7f843417c0feb61205882565d (diff)
parentbe3fe912791f7332374ca231422d3a06b05778e9 (diff)
Merge branch 'master' into scs
Conflicts (merged manually): page.tmpl
Diffstat (limited to 'atomitem.tmpl')
-rw-r--r--atomitem.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/atomitem.tmpl b/atomitem.tmpl
index 1b1d686..19c557f 100644
--- a/atomitem.tmpl
+++ b/atomitem.tmpl
@@ -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>