in reply to Template Toolkit - Output Template Name / Filepath as HTML Comment
It gives you output like this in your HTML:
<!-- TIMER START: L1 process mainmenu/mainmenu.tt --> <!-- TIMER START: L2 include mainmenu/cssindex.tt --> <!-- TIMER START: L3 process mainmenu/cssindex.tt --> <!-- TIMER END: L3 process mainmenu/cssindex.tt (17.279 ms) --> <!-- TIMER END: L2 include mainmenu/cssindex.tt (17.401 ms) --> .... <!-- TIMER END: L3 process mainmenu/footer.tt (3.016 ms) --> <!-- TIMER END: L2 include mainmenu/footer.tt (3.104 ms) --> <!-- TIMER END: L1 process mainmenu/mainmenu.tt (400.409 ms) -->
I know you didn't ask for timings, but at least it shows nesting levels.
xoxo,
Andy
|
---|