Finish the html compiler implementation of layout templates and blocks