TrixieTang has asked for the wisdom of the Perl Monks concerning the following question:
In the documentation for Template Toolkit it shows examples such as [% INCLUDE header %] being used - but I can't for the life of me find anything in the documentation about how to include files that way without having to specify the extension.
For example, I can get [% INCLUDE header.html %] or [% INCLUDE header.tt2 %] to work, but it gives a template not found error if I attempt to use something like [% INCLUDE header %].
Is there a way to set the extension that Template Toolkit searches for when none is specified in the include block?
|
---|