Re: Templating language Include path dilemma

2009-03-24 Thread Colm
On Mar 24, 12:42 am, Malcolm Tredinnick wrote: > On Mon, 2009-03-23 at 17:21 +0000, Colm Dougan wrote: > > > There is, however, no concept of "context" passed through to the > template loader. Everything is loaded from the same base situation, > which is what I bel

Templating language Include path dilemma

2009-03-23 Thread Colm Dougan
7;{%include "../path2/template3"%}' *or* should it do this : ./path1/template2 = '{%include "path2/template3"%}' I tend to favor the latter because then the include path is unambiguous since all includes are relative to the document root. Which of these does