rendering layout and menu using blaze