Skip to content
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

highlight active nav item #115

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

MisterSquishy
Copy link

@MisterSquishy MisterSquishy commented Mar 22, 2020

addresses #62

i was cooped up and bored so i decided to knock this one out; stole the pattern from https://www.turnkeylinux.org/blog/django-navbar

lookin good locally; couple examples:
download page
Screen Shot 2020-03-22 at 11 53 52

guide page
Screen Shot 2020-03-22 at 11 54 09



@register.simple_tag
def navactive(request, urls):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im willing to define this tag in a more central location but i couldn't find a suitable one; let me know if there's a better spot for this!

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

Successfully merging this pull request may close these issues.

None yet

1 participant