add style and layout templating