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

设置baseurl为projectname后,部分链接打不开,静态资源也无法加载 #54

Closed
hormones opened this issue Apr 4, 2018 · 1 comment

Comments

@hormones
Copy link

hormones commented Apr 4, 2018

如:<link rel="stylesheet" href="/assets/css/github-markdown.css">
应该为:<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/github-markdown.css">
部分链接也应该加上baseurl才能正常访问

@hormones
Copy link
Author

hormones commented Apr 4, 2018

此问题仅存在于username.github.io/project-name/类型的github pages中

@kaeyleo kaeyleo closed this as completed Apr 16, 2018
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

2 participants