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

Improve navbar code and support names which are different from links #299

Open
TheoXIII opened this issue Aug 15, 2022 · 0 comments
Open
Labels
good-first-issue A nice easy issue to get started with for new contributors

Comments

@TheoXIII
Copy link
Contributor

TheoXIII commented Aug 15, 2022

Right now the links on the navbar are stored in _config.yml. I think they should be put in their own file, for example _data/menu.yaml, so that config.yml only contains stuff that needs to be there. In addition, support should be added for link names which are separate from the URLs themselves, as currently the link names are created by taking the URL and capitalising the first character.

This would add support for link names with spaces in them and for links which are abbreviated from the link names, making the navbar more versatile. As a result, it would also be more intuitive to make edits to the navbar.

@TheoXIII TheoXIII added the good-first-issue A nice easy issue to get started with for new contributors label Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-issue A nice easy issue to get started with for new contributors
Projects
None yet
Development

No branches or pull requests

1 participant