]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/forum/Template_variables.mdwn
Added a comment: Use an underlay instead
[git.ikiwiki.info.git] / doc / forum / Template_variables.mdwn
1 Hi,
3 I am very confused with the template variables. I cannot find any documentation of which ones are available, where are they set, etc.
5 I see that in the default templates, there are things like this (rssitem.tmpl): 
7     <TMPL_IF AUTHOR>
8         <title><TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE></title>
9         <dcterms:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dcterms:creator>
10     <TMPL_ELSE>
11         <title><TMPL_VAR TITLE></title>
12     </TMPL_IF>
14 But I don't get this in my RSS, and I don't know how to add those variables, except for mentions of some plugins that are not yet merged.
16 I also see that the 'author' data is one of the fields that can be set with the meta directive, but I understand that meta is processed after the templates, so it cannot be the source; right?
18 Any help appreciated!
20 PS: what I am tring to do now is to add a proper author field to my feeds, but I also want to understand how to use the templating system.