🏗️ Add friend's link flag.
Sometimes the web URL link were not availabed forever, so need check it when build the statics files.
This commit is contained in:
parent
5610d561bb
commit
15933757ca
@ -8,16 +8,22 @@
|
||||
desc: 世界上最快的网站建设框架!
|
||||
avatar: https://gohugo.io/favicon-32x32.png
|
||||
link: https://gohugo.io
|
||||
timeout: 2
|
||||
visible: true
|
||||
|
||||
- name: Hugo-NexT
|
||||
desc: Hugo NexT 官方预览网站。
|
||||
avatar: https://hugo-next.eu.org/imgs/hugo_next_avatar.png
|
||||
link: https://hugo-next.eu.org
|
||||
timeout: 2
|
||||
visible: true
|
||||
|
||||
- name: 凡梦星尘空间站
|
||||
desc: 再平凡的人也有属于他的梦想!
|
||||
avatar: https://lisenhui.cn/imgs/avatar.png
|
||||
link: https://lisenhui.cn
|
||||
timeout: 2
|
||||
visible: true
|
||||
|
||||
|
||||
- FLinksTitle: Hugo NexT 粉丝群体
|
||||
@ -26,4 +32,6 @@
|
||||
- name: 阿哈吉
|
||||
desc: 全网首个 Hugo NexT 忠实粉丝用户
|
||||
avatar: https://a.happy2008.top/imgs/stayhome-small.png
|
||||
link: https://a.happy2008.top/
|
||||
link: https://a.happy2008.top/
|
||||
timeout: 2
|
||||
visible: true
|
@ -13,6 +13,7 @@
|
||||
<div class="flinks-list-desc">{{ .FLinksDesc | safeHTML }}</div>
|
||||
<div class="flinks-list-items">
|
||||
{{ range .FLinksList }}
|
||||
{{ if .visible }}
|
||||
<div class="flinks-list-item">
|
||||
<a href="{{ .link }}" rel="external nofollow noreferrer" title=" {{ .name }}" target="_blank">
|
||||
<div class="flinks-item-icon">
|
||||
@ -23,6 +24,7 @@
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user