Generates navigation based on content