summaryrefslogtreecommitdiff
path: root/atomitem.tmpl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-08-01 21:13:35 +0200
committerJonas Smedegaard <dr@jones.dk>2008-08-01 21:13:35 +0200
commitbe3fe912791f7332374ca231422d3a06b05778e9 (patch)
tree5295c217ac8424a895370d956037a650d6445435 /atomitem.tmpl
parent2fb8dbca8338e24e7018355295d8248eba6e1132 (diff)
Sync with ikiwiki 2.55.
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>