Re: minor docs patch
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel |
|---|---|
| Message-ID | <[email protected]> |
I applied the docs patch. Sorry it took so long. Thank you! /will On Sun, 3 Sep 2006, Ryan Barrett wrote: > > hi again. as a followup to my ajax comments patch, i'm also submitting...a > docs patch! c'mon, you know docs get you all hot and bothered. :P > > it's very minor; it just describes how to invoke template variables more > explicitly. it took me a while to figure this out when i was learning > pyblosxom, so i figured i'd try to help others avoid that pain. (then again, > i'm probably just slow. :P) > > it's against svn. it's really small, so i'm including it inline here. > > *** docsrc/chapter_flavours.docbook (revision 929) > --- docsrc/chapter_flavours.docbook (working copy) > *************** > *** 211,216 **** > --- 211,223 ---- > <para> > 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, simply prefix the variable name with $. > + For example, this would display your blog's title as a heading: > + > + <programlisting role="shell"><h2>$title</h2> > + </programlisting> > + > To get a complete list of what variables are available in your blog, use > the debug renderer by changing the renderer property in your > <filename>config.py</filename> file to debug like this: > > > -Ryan > > -- > http://snarfed.org/ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Pyblosxom-devel mailing list > Pyblosxom-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/pyblosxom-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV