Thanks. I actually created a flat-file CMS in PHP called Pico (http://picocms.org) so I built on some of the lessons I learned creating Pico when building Raneto.
I haven't looked through your code completely so let me ask you something, what kind of an object do you pass to your templates? Do you pass the entire tree of information (all contents parsed as a JS object), or do you pass the current + children + parent?
I'm just wondering. What I'm currently doing is sending the top-level content, current page, and children along with all of their information.