in reply to Re: Template Toolkit - Output Template Name / Filepath as HTML Comment
in thread Template Toolkit - Output Template Name / Filepath as HTML Comment
Thanks for the assist.
To grep for parts of the markup is possible, but a lot slower
when compared to just reading the template names inline.
Basically, what I'd hope to see is something like this:
... <!-- BEGIN OUTPUT from 'template/en/bug/bug_edit.html.tmpl' --> <ul> <li># lots of markup ....</li> </ul> <!-- END OUTPUT from 'template/en/bug/bug_edit.html.tmpl' --> <!-- BEGIN OUTPUT from 'template/en/global/footer.html.tmpl' --> ...
Strictly for development of course, none of this clutter would get anywhere near production ;-)
|
|---|