3 ms·
I wonder why there is no general "template" language that you can use on any text/source file Template Toolkit is such a beast: http://template-toolkit.org/ ht
by draegtun 16y ago
I wonder why there is no general "template" language that you can use on any text/source file
Template Toolkit is such a beast: http://template-toolkit.org/ http://template-toolkit.org/
Beyond its normal Perl (and Python) web templating usage I've also used (and abused) TT for:
* All my static websites
* CSS (dynamic and static)
* Pre-process scripts (including Javascript)
* Multi-lingual email
* Creating (end user) configurable data exports (eg. CSV).
* Websurvey language!
* And probably other things I've (hopefully!) forgotten :)
NB. See "ttree" & "tpage" in docs for standalone usage.