Build: Optimize the pages generation