CSSUoB / CSSUoB/cssuob.github.io

Improve navbar code and support names which are different from links

未关闭
#299 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good-first-issue
主要语言
HTML
星标
29
派生
44
平均合并
3 天 16 小时
30 天内合并 PR
15

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。