New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Support front matter in partials #696

Closed
curtisblackwell opened this Issue May 19, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@curtisblackwell

curtisblackwell commented May 19, 2016

Use case:

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment