Change CSS and icon path

I have set up hugo’s public directory under https://my-domain.com/blog/
However, CSS and icons are broken and cannot be displayed normally.
Upon examination, the generated index.html seems to refer to /css
I changed the baseURL from the settings, but the CSS hasn’t changed.
How can I change this directory?

Here is my existing code.

I want to add a blog to a subdirectory of an existing site.

Hello @hayao

You are using baseURL = "./" like this, it will break your site. use the exact URL where you want to serve your blog. ex: baseURL = "https://examplesite.com/blog/". hope it will solve your problem