I'm coming over from PHP where I was using the "Smarty" theme template from 
stepofweb.
I'd like to build this into my web2py site.  
Has someone already done this? Or is there a best practice for implementation?  For example, should I try and create a "layout plugin" to accomplish this?