render by layout