extract a common index template page