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] Page content breaks toggle mode #61

Open
3 tasks done
chipzoller opened this issue Nov 25, 2021 · 1 comment
Open
3 tasks done

[Bug] Page content breaks toggle mode #61

chipzoller opened this issue Nov 25, 2021 · 1 comment

Comments

@chipzoller
Copy link
Contributor

I have checked all the prerequisites below and I'm yet experiencing a problem

  • Read the README.md
  • Have the extended version of Hugo installed
  • Used the exampleSite's config.toml as a reference

Describe the bug
On this page, you can toggle the light/dark mode and navigate around with that mode staying in effect. But upon navigating to Equinix Metal page under the "Usage" category, something in the JS breaks and the page is forced into dark mode (if it was previously in light). The toggle button flips and can't be clicked. So it "broke" somehow.

Desktop (please complete the following information):

  • OS: Mac 10.14.6
  • Browser: Firefox 93
@chipzoller
Copy link
Contributor Author

I tracked down the cause and it was due to there being a Markdown heading (third level in this case) which was hyperlinked.

### Expose with [Equinix Metal CCM](https://github.com/equinix/cloud-provider-equinix-metal)

Removing this hyperlink solved the problem. Compose needs to be able to deal with these and allow them if present.

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

No branches or pull requests

1 participant