We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As per F2F
The text was updated successfully, but these errors were encountered:
I'm tending towards client-side JS. From this SO answer a gloriously simple query.
document.querySelectorAll('a[href="'+document.URL.substring(27)+'"]')[0].className = "current";
However, for / the logo gets in the way.
/
var url = document.URL.substring(27); if (url === '/'){ document.querySelectorAll('a[href="'+url+'"]')[1].className = "current"; } else { document.querySelectorAll('a[href="'+url+'"]')[0].className = "current"; }
Plus a style for .current. What do you think?
.current
Sorry, something went wrong.
Gah! Running into specificity issues; need to learn CSS ;-)
Check out https://github.com/mathblogging/mathblogging.org/tree/issue15 for the horror.
No branches or pull requests
As per F2F
The text was updated successfully, but these errors were encountered: