Generate archive and category pages.