diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-08-01 21:22:15 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-08-01 21:22:15 +0200 |
commit | 99ff7fe6182351cf42af74b36305464fc3a64caf (patch) | |
tree | 98e3d8dbf94ff75a17424ad4023cafd0a331d326 /atompage.tmpl | |
parent | a9881763464190d7f843417c0feb61205882565d (diff) | |
parent | be3fe912791f7332374ca231422d3a06b05778e9 (diff) |
Merge branch 'master' into scs
Conflicts (merged manually):
page.tmpl
Diffstat (limited to 'atompage.tmpl')
-rw-r--r-- | atompage.tmpl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/atompage.tmpl b/atompage.tmpl index acc4737..e834d76 100644 --- a/atompage.tmpl +++ b/atompage.tmpl @@ -3,7 +3,7 @@ <feed xmlns="http://www.w3.org/2005/Atom"> <title><TMPL_VAR TITLE></title> <link href="<TMPL_VAR PAGEURL>"/> -<link href="<TMPL_VAR FEEDURL>" rel="self"/> +<link href="<TMPL_VAR FEEDURL>" rel="self" type="application/atom+xml"/> <author> <TMPL_IF NAME="AUTHOR"> <name><TMPL_VAR AUTHOR></name> @@ -31,7 +31,11 @@ </rights> </TMPL_IF> </TMPL_IF> -<id><TMPL_VAR PAGEURL></id> +<TMPL_IF NAME="GUID"> + <id><TMPL_VAR GUID></id> +<TMPL_ELSE> + <id><TMPL_VAR PAGEURL></id> +</TMPL_IF> <subtitle type="html"><TMPL_VAR FEEDDESC ESCAPE=HTML></subtitle> <generator uri="http://ikiwiki.info/" version="<TMPL_VAR VERSION>">ikiwiki</generator> <updated><TMPL_VAR FEEDDATE></updated> |