Keep it in a separate file and INCLUDE it? This also separates functions: Templates are for layout. Markdown or whatever for content. .js files for javascript.
Respectfully, Sherwood of Sherwood's Forests Sherwood Botsford Sherwood's Forests -- http://Sherwoods-Forests.com Online Inventory https://docs.google.com/spreadsheets/d/10u28L2gCe6wSdAZWwXRMZKi90M7dNYQrCcyE_QWEOZw/edit?usp=sharing O: 780-848-2548 C:780-863-7311 50042 Range Rd 31 Warburg, Alberta T0C 2T0 On 6 March 2016 at 15:50, Aaron Macks <[email protected]> wrote: > I've got to add some javascript into a template, and the $ in the js > code is getting interpolated incorrectly. How do I disable > interpolation for a block of code, or simply tell TT, "just print this > code unprocessed"? > > Thanks > Aaron > -- > _______________________________________________________ > Aaron Macks([email protected]) [http://www.wiglaf.org/~aaronm ] > My sheep has seven gall bladders, that makes me the King of the Universe! > > _______________________________________________ > templates mailing list > [email protected] > http://mail.template-toolkit.org/mailman/listinfo/templates >
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
