Multiple Levels of Subnavigation with Jekyll

In this post, we'll discuss how to separate an HTML document into logical sections based on heading tags. I'll all also show you a cool trick for rendering arbitrarily-deep subnavigation trees using Liquid templates.

Automatically generate subnavigation from H2s in Jekyll

Longer pages often benefit from subnavigation. In this post, we'll make a Jekyll plugin to dynamically generate subnavigation from H2 tags.