For batch pages generation by a template