Re: Gaps in manual
Chris G <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jun 09, 2007 at 10:36:56AM -0700, Ryan Barrett wrote: > > On 6/8/07, Chris G <[email protected]> wrote: > > > >> There doesn't appear to be anywhere that tells how to use > >> variables in templates, again one can find out by looking at > >> examples but it would be good to have it spelt out. > > true. a section on this was added after 1.3.1, so it's not in the 1.3.1 manual > on the web site. here's the section that was added: > > Template Variables > ================== > > This is the list of variables that are available to your templates. > Additionally, plugins that you are using will add additional variables. > > To use a variable in a template, prefix the variable name with a $. > For example, this would expand to the blog's title as a h2:: > > <h2>$title</h2> > Yes, this is exactly what I meant. -- Chris Green ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/