khusika / FeelIt

A clean, elegant but advanced blog theme for Hugo
https://feelit.khusika.dev
MIT License
166 stars 63 forks source link

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

Open f0-x opened 6 months ago

f0-x commented 6 months ago

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

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

Preview Environment

Additional Information

Configuration files or front matter code...