I\'m constructing a static site (no blog) with Jekyll/Liquid. I want it to have an auto-generated navigation menu that lists all existing pages and highlight the current pag
The solution above by @kikito also worked for me. I just added a few lines to remove pages without weight from the navigation and to get rid of white space: