Re: Including an external file in a template

2016-10-18 Thread Daniel Dekany
As far as the TemplateLoader (see Configration.setTemplateLoader) can
access it, you can #include or #import any file. (Templates aren't
allowed to directly access files, only through the TemplateLoader.)
As it's a txt, I guess you don't have FTL constructs in it, in which
case it's going to be <#include 'foo.txt' parse=false>.


Tuesday, October 18, 2016, 4:03:15 PM, John D. Ament wrote:

> Hi,
>
> Suppose I have a local .txt file.  Is there an easy way that I can import
> the contents of this file?
>
> John

-- 
Thanks,
 Daniel Dekany



Including an external file in a template

2016-10-18 Thread John D. Ament
Hi,

Suppose I have a local .txt file.  Is there an easy way that I can import
the contents of this file?

John