Currently, we have a routine that hits every tool and 'overlays' its templates directory onto the Jinja2 search path. This makes it difficult to determine by looking at the code where a template lives. Change the Jinja2 template loader so that it uses explicit lookup via dotted name (e.g. forgeblog.templates.foo) -- see the Genshi code in TG for an example of how to do this.
Alternatively, use the Pyramid approach of package:path, e.g. forgeblog:templates/foo.html -- whichever is easier.
Log in to post a comment.