-
-
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
Active class using page.url - how to? #1183
Comments
and of course I stumbled on this immediately after posting: Is nunjucks the preferred method or is there an 11ty approach? |
Considering #1103 chances are, that Nunjucks will get some priority. |
Nunjucks is a very popular templating language in Eleventy. But yes I’d say the commentary on #1103 should probably provide more clues. I’ve been loving the upcoming Vue + Eleventy lately 👀 |
I should also note some examples of this with pagination here: https://www.11ty.dev/docs/pagination/nav/#starter-example |
|
#22
The references in the above issue are no longer active. Is there a how to on incorporating active class (and
aria-current="page"
) on navigation links?The text was updated successfully, but these errors were encountered: