-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
Feature to add class to nav links for current page. #22
Comments
Jekyll has |
cc @cferdinandi |
Added global Documented here: https:/11ty/eleventy/#special-variables and https:/11ty/eleventy/blob/master/docs/collections.md#example-navigation-links-with-an-active-class-added-for-on-the-current-page |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some easy mechanism to test if current page matches some criteria (maybe just a string?)
https://twitter.com/ChrisFerdinandi/status/949012833647374336
The text was updated successfully, but these errors were encountered: