We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
本地hugo server查看时,avatar图片有显示,点击进入也有博客页。但部署到gitpage上avatar图片无法显示,点进去显示404。
The text was updated successfully, but these errors were encountered:
你的网站的根地址是 https://meowoo6.github.io,你用绝对地址肯定是找不到图片的
https://meowoo6.github.io
把 config.toml 中 47 行改成这样就可以了
config.toml
avatar = "images/me/avatar.jpeg"
Sorry, something went wrong.
我现在的config.toml第47行已经改成了avatar = "images/me/avatar.jpeg" 但是头像图片仍然没有出现。检查元素时,例如博文、目录,都会自动添加meowsblog/路径,图片这个是因为什么呢?
meowsblog/
改成 https://meowoo6.github.io/meowsblog/images/me/avatar.jpeg 试试?
https://meowoo6.github.io/meowsblog/images/me/avatar.jpeg
因为图片的路径是 https://meowoo6.github.io/meowsblog/images/me/avatar.jpeg ,但 /images/me/avatar.jpeg 表示的路径是 https://meowoo6.github.io/images/me/avatar.jpeg。
/images/me/avatar.jpeg
https://meowoo6.github.io/images/me/avatar.jpeg
No branches or pull requests
本地hugo server查看时,avatar图片有显示,点击进入也有博客页。但部署到gitpage上avatar图片无法显示,点进去显示404。
The text was updated successfully, but these errors were encountered: