Set previous HTML version into the new header-middle-footer layout