feat: child menu support in navbar (#695)

* feat: implement child menu support in main navbar

- Added a new JavaScript file for handling dropdown functionality in the navbar.
- Implemented event listeners for toggling dropdowns, closing them on outside clicks, and dismissing with the Escape key.
- Updated navbar HTML to support dropdown items with children, enhancing the navigation experience.
- Adjusted core script imports to include the new dropdown functionality.

* chore: update menu identifiers and add missing translations for development versions

* chore: update hugo stats

* chore: update script name

* chore: update menu item names to include arrows for external links
This commit is contained in:
Xin
2025-06-01 17:33:45 +01:00
committed by GitHub
parent a44de285b2
commit c24d55ee40
8 changed files with 145 additions and 18 deletions

View File

@ -4,3 +4,5 @@ blog: "博客"
about: "关于"
more: "更多"
hugoDocs: "Hugo 文档 ↗"
versions: "版本"
development: "最新开发版本"