add chapters to all pages