XSLT, Movable Type Templates, and Git

I'm setting up an extremely customized set of Movable Type templates and its coming along really well!

Most of the work being done outside of the templates is getting stored, backed up, and versioned with git. As such, I decided to move all the templates to git, and reference them with mt Include file tags. Its not the best, but git is so awesome, its worth it. Plus, I get to use jEdit!

Aside from the pages with content managed by Movable Type, there are a bunch of HTML pages which won't ever require updates from Movable Type, so I'm using Rake and XSLT to manage those as well.

The templates are the same, but obviously MTML and XSLT are not the same beast! I'm moving as much of the static HTML blocks to separate files, and manually managing the logic blocks. I've considered using XSLT as the canonical template source and and using it to publish the MTOS templates. I haven't done it yet, but I still like that idea!

By Albert on February 4, 2010 1:20 PM

Categories: