Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relative path error? All image, css and js file not works. #7

Open
weizhenhuan opened this issue Jan 23, 2024 · 0 comments
Open

relative path error? All image, css and js file not works. #7

weizhenhuan opened this issue Jan 23, 2024 · 0 comments

Comments

@weizhenhuan
Copy link

I want to deploy the website to my xxx.github.io/blog, and I have cloned the repo to my blog repo. However, all link points to the root directory. For example, an image with src /img/xxx.jpg is pointed to 'xxx.github.io/img/xxx.jpg', not 'xxx.github.io/blog/img/xxx.jpg'. How to solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant