From 2f0c65c6b52376dd377fd456b0c276ce7a63132c Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sat, 4 Nov 2023 23:57:18 +0800 Subject: [PATCH] Docs: update test case and remove invalid FixIt site link --- content/tests/markdown/index.zh-cn.md | 2 +- data/friends.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/content/tests/markdown/index.zh-cn.md b/content/tests/markdown/index.zh-cn.md index 0f97eb3..1df4073 100644 --- a/content/tests/markdown/index.zh-cn.md +++ b/content/tests/markdown/index.zh-cn.md @@ -123,7 +123,7 @@ get remote images test: ![Lruihao](https://lruihao.cn/images/avatar.jpg?from=FixIt) ![logo](https://lruihao.cn/logo.png) -{{< image src="https://fixit.lruihao.cn/images/lighthouse.jpg" linked=false src_s="https://fixit.lruihao.cn/images/lighthouse-small.jpg" src_l="https://fixit.lruihao.cn/images/lighthouse-large.jpg" >}} +{{< image src="/images/lighthouse.jpg" caption="Lighthouse (`image`)" src_s="/images/lighthouse-small.jpg" src_l="/images/lighthouse-large.jpg" >}} 不支持 `svg` 和 `avif` 等格式以及不支持请求式图片(如 gravatar),需要手动设置高度或设置为 `loading="eager"` diff --git a/data/friends.yml b/data/friends.yml index d66572f..1089dbd 100644 --- a/data/friends.yml +++ b/data/friends.yml @@ -37,10 +37,10 @@ url: https://www.fordece.cn/ description: 某人的小栈 -- nickname: haiyux - avatar: https://haiyux.cc/avatar.png - url: https://haiyux.cc - description: haiyux's blog +# - nickname: haiyux +# avatar: https://haiyux.cc/avatar.png +# url: https://haiyux.cc +# description: haiyux's blog - nickname: hiifong avatar: https://www.gravatar.com/avatar/ba22db80ba3c392985cff46ec8c80332?s=240&d=mp