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

Add a page to the topnav would not correctly indicate the active page is the page is part of the course site #136

Open
dirkcuys opened this issue Mar 24, 2021 · 0 comments

Comments

@dirkcuys
Copy link
Member

dirkcuys commented Mar 24, 2021

The instructions tells a user how to add a item to the top navigation menu, but if a user adds a page as part of the course (as apposed to the page being external) the topnav won't correctly display the styling for the page being active when a user visits the page.

A possible solution is to add a section for extra topnav items to _data/course.yml, eg.

topnav:
- url: /facilitate
  title: Facilitate

We would need to update both the instructions and the implementation for this.

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

No branches or pull requests

1 participant