Ways - How to Generate a Menu From a Jekyll Collection

Creating a menu as a list in Jekyll from a collection is as easy as defining the item title and url as yaml in either the config.yml or in an object in the _data folder navigation_header : - url : " /about" title : " About" label : " Visit About page" In this example I am using the navigation_header in the config.yml and it’s then simply a case of iterating over the list with a for loop. Each menu…