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

[bug] 当relative_link: true 时,图片路径会错。 #14

Open
arrayofstar opened this issue Sep 17, 2024 · 0 comments
Open

[bug] 当relative_link: true 时,图片路径会错。 #14

arrayofstar opened this issue Sep 17, 2024 · 0 comments

Comments

@arrayofstar
Copy link

arrayofstar commented Sep 17, 2024

如题,正常hexo g生成的网页中,图片路径应该是

<img src="/2024/09/18/My-New-Post/test.jpg" class="" title="test">

当设置 relative_link: true 时,图片路径开头少一个“/”。如下:

<img src="2024/09/18/My-New-Post/test.jpg" class="" title="test">

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