replace page html layout