]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - templates/feedlink.tmpl
clarify what date fields do, following [[bugs/invalid_meta_date_or_updated_not_diagno...
[git.ikiwiki.info.git] / templates / feedlink.tmpl
index be8637f0f6f2c67f120dd45aef31270f525fd2c6..c67ad9c2b26dc752738fe5b8e47983c8a2b07342 100644 (file)
@@ -1,8 +1,8 @@
-<div id="feedlink">
+<div <TMPL_IF ID>id="<TMPL_VAR ID ESCAPE=HTML>"</TMPL_IF> class="feedlink">
 <TMPL_IF RSSURL>
-<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR RSSURL>">RSS</a>
+<a class="feedbutton" type="application/rss+xml" rel="alternate" title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a>
 </TMPL_IF>
 <TMPL_IF ATOMURL>
-<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR ATOMURL>">Atom</a>
+<a class="feedbutton" type="application/atom+xml" rel="alternate" title="<TMPL_VAR ATOMDESC>" href="<TMPL_VAR ATOMURL>">Atom</a>
 </TMPL_IF>
 </div>