Accessing template name inside a template?

2011-06-06 Thread Roy Smith
For diagnostic purposes, I want every one of my templates to emit an HTML comment showing the template name. I was doing fine just dropping "", etc, in each template, until the first time I renamed a template and forgot to update the comment :-) Any way to automate this process so I can do ""? -

Re: Accessing template name inside a template?

2011-06-07 Thread Derek
On Jun 6, 8:08 pm, Roy Smith wrote: > For diagnostic purposes, I want every one of my templates to emit an > HTML comment showing the template name.  I was doing fine just > dropping "", etc, in each template, until the first > time I renamed a template and forgot to update the comment :-) > > Any