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

[Bug]: can't reorder or collapse about #318

Open
diamantelist opened this issue Sep 12, 2024 · 5 comments
Open

[Bug]: can't reorder or collapse about #318

diamantelist opened this issue Sep 12, 2024 · 5 comments
Assignees

Comments

@diamantelist
Copy link
Contributor

diamantelist commented Sep 12, 2024

Version

master

What browsers are you seeing the problem on?

Chrome, Firefox, Safari, Microsoft Edge

Describe the bug

Screenshot from 2024-09-13 01-45-19
Screenshot from 2024-09-13 01-46-17

I can't reorder or collapse ¨about" in any way even if I can do that with navItems and other pages. I tried to change even i18n (I'm using IT) but nothing happened.

To Reproduce

No response

@diamantelist
Copy link
Contributor Author

On mobile it's automatically collapsed. By the way, I also tried EN i18n and still can't collapse it on desktop.

@g1eny0ung
Copy link
Owner

Yep, I've not included "about" in the reorderNavItems before. I'm not sure what I was thinking at the time, but I can add it now.

@g1eny0ung
Copy link
Owner

Yep, I've not included "about" in the reorderNavItems. I don't know what I was thinking then, but I can add it now.

There still a problem is: if "about" can be used in reorderNavItems, this will be a breaking change because some people may have already used reorderNavItems and it will override the default order.

One solution would be to create a new branch for this change and then I'm going to merge it into the master branch after 3 minor versions, what do you think of that? You can use the newly created branch temporarily before it merges into the master.

@diamantelist
Copy link
Contributor Author

diamantelist commented Sep 13, 2024 via email

@g1eny0ung
Copy link
Owner

Added in https://github.com/g1eny0ung/hugo-theme-dream/tree/add-about-in-reorderNavItems.

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

No branches or pull requests

2 participants