[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Recommended handling of sites with subdirs?
- From: Denis Barbier <nospam@thanx>
- Date: Sun, 17 Jun 2001 23:54:12 +0200
On Fri, Jun 15, 2001 at 07:16:21AM +0000, Stephan Petersen wrote:
[...]
> The question is, what's the best way to support such a directory
> structure, meaning what's the best way to get all the paths and links
> right?
[...]
Hi Stephan,
Here are some basics. Put
-I templates
in your top-level .wmlrc after moving your macro files under templates/.
Then you may include them via #include "file".
And the line
-D ROOT~.
in that .wmlrc lets you define relative links, because $(ROOT) get
this way always expanded to `\.|\.\.(/\.\.)*' (with a Perl-regexp
syntax) to match the top-level directory (see last section in
wml_intro(7)).
--
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com