khusika / FeelIt

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

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

Open f0-x opened 2 months ago

f0-x commented 2 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...