Creates a contents section for a pages article