Something like `<% extends('layout') %>`. Also, have you seen the discussion on extending ejs to include layouts? I think you could bring some good ideas to the discussion: https://github.com/mde/ejs/pull/251