Update generated templates to use `render` instead of `yield`