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

The strange case of side navigation #3854

Open
thinkingjimmy opened this issue Dec 22, 2024 · 0 comments
Open

The strange case of side navigation #3854

thinkingjimmy opened this issue Dec 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@thinkingjimmy
Copy link

This is _meta.js of my website:

export default{
  "index": "Introduction",
  "folder1": "folder1",
  "folder2": {
    "title": "folder2",
    "type": "page"
  },
  "about": {
    "title": "About",
    "type": "page"
  },
  "contact": {
    "title": "Contact ↗",
    "type": "page",
    "href": "https://twitter.com/shuding_",
    "newWindow": true
  }
}

when I go to the index page, it looks ok:

image

but when I click the folder 2 button on nav bar, it looks strange:

image

I know this will fix the problem. However I don't want to make a homepage:

export default{
  "index": {
    "title": "Home",
    "type": "page"
  },
  "folder1": {
    "title": "folder1",
    "type": "page"
  },
  "folder2": {
    "title": "folder2",
    "type": "page"
  },
  "about": {
    "title": "About",
    "type": "page"
  },
  "contact": {
    "title": "Contact ↗",
    "type": "page",
    "href": "https://twitter.com/shuding_",
    "newWindow": true
  }
}

How do I fix this?

@thinkingjimmy thinkingjimmy added the bug Something isn't working label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant