On Mon, Sep 15, 2008 at 8:56 AM, Clinton Gormley <[EMAIL PROTECTED]>wrote:

> Hi all
>
> Quick survey : what file extensions do you typically use for your TT
> templates?
>  - .tt
>  - .html
>  - ???
>

I inherited an environment where HTML templates have a single .tt extension,
and other templates may have multiple extensions, the last being .tt.  For
example, CSS files end in .css.tt, Javascript files end in .js.tt, etc.

Fortunately, Emacs is able to accomodate me quite well:

(setq auto-mode-alist
      (append '(("/[^/.]*\\.tt\\'" . html-mode)
                ("\\.tt\\'" nil t))
              auto-mode-alist))


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

Reply via email to