[Rest2web-develop] Refer to current directory in macro/template - how?
Brought to you by:
mjfoord
From: Eur I. C. G. <cl...@is...> - 2007-03-08 15:48:22
|
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? -- Chris Green |