applied standalone template to header and cookie