Issues with css and js files with Hexo project

Hello,

I’ve build a simple static side using Hexo at this repo Hemant Pande / hemantpande.gitlab.io · GitLab

I’ve also linked it with Gitlab pages using standard yaml files configuration.

However after building the project, I’m seeing css, js errors in console. Attached screenshot for reference.

Please help. What am I missing?

Thanks,
Hemant Pande

Hi,

never used this tool, but reading the docs and configs a bit leads me to a guess:

https://hemantpande.gitlab.io/hexo/images/favicon-192x192.png
vs
https://hemantpande.gitlab.io/images/favicon-192x192.png

So your root config entry is wrong, and needs to just be "/".

Inspired by https://gitlab.com/pages/hexo/issues/2

Cheers,
Michael

1 Like

Hi Michael,

Thanks a lot for your help. It’s working now. I really appreciate your help.

Cheers,
Hemant

1 Like