Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
FR: Support front matter in partials #696
It generally makes most sense not to use the nav tag for primary navigation on our client sites. We also like to keep our navigation in a partial to keep our layouts clean.
Rather than having a ton of conditionals checking on URL segments for active classes and the like, I'd like to place the nav data in YAML front matter. Keeping it in the partial is less confusing than in the layout (esp. when we have multiple layouts) or a global set.