Chankey Pathak wrote:
In Template::Toolkit is there any way to show the template name in all
html source automatically? This can be done by writing [% template.name
%] in each file, but isn't there a global setting/way for this?
Do you mean visible within the rendered HTML, or just embedded in the
output - maybe as comments?
If the latter, maybe the simplest solution is Template::Timer -
https://metacpan.org/pod/Template::Timer
If you are using Catalyst then Catalyst::View::TT has magic to do this
already - https://metacpan.org/pod/Catalyst::View::TT
Nigel.
--
[ Nigel Metheringham ------------------------------ [email protected] ]
[ Ellipsis Intangible Technologies ]
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates