khusika/FeelIt

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

Opened this issue · 0 comments

f0-x commented

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...