diff options
author | Simon McVittie <http://smcv.pseudorandom.co.uk/> | 2008-07-11 23:46:48 +0100 |
---|---|---|
committer | Simon McVittie <http://smcv.pseudorandom.co.uk/> | 2008-07-11 23:46:48 +0100 |
commit | 9f479a83a78cc199d7e7854e4beecd5594e87629 (patch) | |
tree | b628647046205f14270c02a896590bb8208648dc /templates | |
parent | e767f18867bbddb252bd53589676f29dfc75837e (diff) |
atomitem.tmpl: use UUID as <id> if supplied
Diffstat (limited to 'templates')
-rw-r--r-- | templates/atomitem.tmpl | 6 |
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> |