Render content first, then render outer templates