Add preview template and layout