CSSUoB / CSSUoB/cssuob.github.io

Improve navbar code and support names which are different from links

Đang mở
#299 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
good-first-issue
Ngôn ngữ chính
HTML
Star
29
Fork
44
Merge trung bình
3 ngày 16 giờ
Pull request đã merge (30 ngày)
15

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.