On Sun, 24 Apr 2016 12:28:12 -0600
Sherwood Botsford <sgbotsf...@gmail.com> wrote:

> I'm expanding tt2 for my .htaccess files.  In those I need to use $base
> for my error document, but tt2 is borking on my rewrite rules, which, of
> course use regexes.
> 
> How do I interpolate $base then turn off interpolation?

Switch variable interpolation off with INTERPOLATE, and use
[% base %] to interpolate the base variable.

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to