From aa8a60d852543e4de5f92a795ce9b7ac67c9e6f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Sun, 7 Aug 2022 16:59:38 +0800 Subject: [PATCH] :art: Use more standard parameter name which call avatar in flinks page. --- exampleSite/data/flinks.yaml | 8 ++++---- layouts/flinks/single.html | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/exampleSite/data/flinks.yaml b/exampleSite/data/flinks.yaml index 76bffae..3a43c14 100644 --- a/exampleSite/data/flinks.yaml +++ b/exampleSite/data/flinks.yaml @@ -6,17 +6,17 @@ FLinksList: - name: Hugo desc: 世界上最快的网站建设框架! - image: https://gohugo.io/favicon-32x32.png + avatar: https://gohugo.io/favicon-32x32.png link: https://gohugo.io - name: Hugo-NexT desc: Hugo NexT 官方预览网站。 - image: https://hugo-next.eu.org/imgs/hugo_next_avatar.png + avatar: https://hugo-next.eu.org/imgs/hugo_next_avatar.png link: https://hugo-next.eu.org - name: 凡梦星尘空间站 desc: 再平凡的人也有属于他的梦想! - image: https://lisenhui.cn/img/avatar.png + avatar: https://lisenhui.cn/img/avatar.png link: https://lisenhui.cn @@ -25,5 +25,5 @@ FLinksList: - name: 阿哈吉 desc: 全网首个 Hugo NexT 忠实粉丝用户 - image: https://a.happy2008.top/imgs/stayhome-small.png + avatar: https://a.happy2008.top/imgs/stayhome-small.png link: https://a.happy2008.top/ \ No newline at end of file diff --git a/layouts/flinks/single.html b/layouts/flinks/single.html index ea0c330..cbe325d 100644 --- a/layouts/flinks/single.html +++ b/layouts/flinks/single.html @@ -15,7 +15,7 @@