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

Update left-col.ejs 更新avatar和author的链接路径 #575

Merged
merged 1 commit into from
Sep 4, 2017
Merged

Update left-col.ejs 更新avatar和author的链接路径 #575

merged 1 commit into from
Sep 4, 2017

Conversation

sherleysong
Copy link
Contributor

原来的avatar和author的链接路径写死为/,导致链接会固定跳转到XXX.github.io;
如果root有设置,举例/blog/,链接会跳出当前blog,导致出错。
解决: 增加root的判断,将href="/" 改为 href="<%=theme.root%>"

原来的avatar和author的链接路径写死为/,导致链接会固定跳转到XXX.github.io;
如果root有设置,举例/blog/,链接会跳出当前blog,导致出错。
解决: 增加root的判断,将href="/" 改为 href="<%=theme.root%>"
@litten litten merged commit 6fc5664 into litten:master Sep 4, 2017
@litten
Copy link
Owner

litten commented Sep 4, 2017

thx

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

Successfully merging this pull request may close these issues.

2 participants