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] 部分友链头像获取失败 #369

Closed
inuyasha-660 opened this issue Nov 4, 2023 · 5 comments
Closed

[BUG] 部分友链头像获取失败 #369

inuyasha-660 opened this issue Nov 4, 2023 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@inuyasha-660
Copy link

Describe the bug 描述你遇到的错误

  1. 一些友链的头像可以正常访问,但加上?size=small?size=large之后就无法获取了
    友链好像会获取三个尺寸的头像,只要有一个访问不了就整个不显示,只能hugo后手动去public/frineds/index.html删除后面的?size=small
  2. 如果只有三个或两个友链,排序是左边到右边到中间,是故意这么排的吗

Expected behavior 期待的行为

头像正常显示,友链从左到右排序

Screenshots 屏幕截图

截图 2023-11-04 12-57-43

Build Environment 构建环境

Debian
v0.2.18-lts.3
hugo v0.120.3-a4892a07b41b7b3f1f143140ee4ec0a9a5cf3970+extended linux/amd64 BuildDate=2023-11-01T17:57:00Z VendorInfo=snap:0.120.3

Preview Environment 预览环境

Debian
Chrome

Additional Information 补充信息

No response

@inuyasha-660 inuyasha-660 added the bug Something isn't working label Nov 4, 2023
@Lruihao
Copy link
Member

Lruihao commented Nov 4, 2023

有预览环境吗?

@inuyasha-660
Copy link
Author

有预览环境吗?

https://blog.inuya.ltd/friends/

@Lruihao Lruihao self-assigned this Nov 4, 2023
@Lruihao
Copy link
Member

Lruihao commented Nov 4, 2023

@inuyasha-660 排序规则是使用了 flex 布局的 justify-content: space-between; 特性。图片 url 加上 ?size=xxx 后可能会导致找不到图片的问题,我晚点发个版本修复一下。

@Lruihao Lruihao added this to the v0.2.18-lts milestone Nov 4, 2023
@inuyasha-660
Copy link
Author

好,感谢您

@Lruihao
Copy link
Member

Lruihao commented Nov 4, 2023

已修复,将在 v0.2.18-lts.4 版本发布。

@Lruihao Lruihao closed this as completed in 4fb9711 Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants