[fix] use generic .render function
[fix] get content for placeholder when a layout contains single node
[fix] donot render list, if model is not an array