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] Mermaid not rendering on deployed Github Pages site. #128

Open
f0-x opened this issue Apr 26, 2024 · 0 comments
Open

[BUG] Mermaid not rendering on deployed Github Pages site. #128

f0-x opened this issue Apr 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@f0-x
Copy link

f0-x commented Apr 26, 2024

Describe the bug

Mermaid diagrams are rendering fine on localhost.

Expected behavior

Mermaid diagrams should render/display ok on site, but I get ReferenceError: mermaid is not defined on console. Weird thing is on the build output, there's no mermaid directory on public/lib on deployed Github pages repository. Also while checking out the Inspector, Mermaid script isn't linked or loaded.

Screenshots

image

Build Environment

  • OS: [e.g. Windows 10]
  • Theme version/commit: [e.g. 1.0.0, 0548952]
  • Hugo version: hugo v0.124.0-629f84e8edfb0b1b743c3942cd039da1d99812b0+extended windows/amd64 BuildDate=2024-03-16T15:44:32Z VendorInfo=gohugoio

Please try to use Hugo extended version before opening the issue.

Preview Environment

  • OS: Windows 10
  • Browser: Firefox

Additional Information

Configuration files or front matter code...

@f0-x f0-x added the bug Something isn't working label Apr 26, 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