On Thu, Mar 08, 2007 at 03:48:16PM +0000, Eur Ing Chris Green wrote:
> I'm (trying to) write a macro, or maybe some python to go in a
> template, which needs access to the 'current' directory, i.e. the
> directory where r2w.py is currently creating HTML files.
>
> Is there any available variable for macros/templates which has this
> information?
>
> By the way is there any reason for choosing a macro rather than
> <#....#> code in a template? Is it just that it's easier to use it in
> more than one place with a macro?
>
Oops, I should RTFM, sorry. The variable I need is 'pagepath'.
Is this available in macros or only in python executed in a template?
--
Chris Green
|