Add support to generate dynamic pages