🏗️ 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: 世界上最快的网站建设框架!
|
desc: 世界上最快的网站建设框架!
|
||||||
avatar: https://gohugo.io/favicon-32x32.png
|
avatar: https://gohugo.io/favicon-32x32.png
|
||||||
link: https://gohugo.io
|
link: https://gohugo.io
|
||||||
|
timeout: 2
|
||||||
|
visible: true
|
||||||
|
|
||||||
- name: Hugo-NexT
|
- name: Hugo-NexT
|
||||||
desc: Hugo NexT 官方预览网站。
|
desc: Hugo NexT 官方预览网站。
|
||||||
avatar: 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
|
link: https://hugo-next.eu.org
|
||||||
|
timeout: 2
|
||||||
|
visible: true
|
||||||
|
|
||||||
- name: 凡梦星尘空间站
|
- name: 凡梦星尘空间站
|
||||||
desc: 再平凡的人也有属于他的梦想!
|
desc: 再平凡的人也有属于他的梦想!
|
||||||
avatar: https://lisenhui.cn/imgs/avatar.png
|
avatar: https://lisenhui.cn/imgs/avatar.png
|
||||||
link: https://lisenhui.cn
|
link: https://lisenhui.cn
|
||||||
|
timeout: 2
|
||||||
|
visible: true
|
||||||
|
|
||||||
|
|
||||||
- FLinksTitle: Hugo NexT 粉丝群体
|
- FLinksTitle: Hugo NexT 粉丝群体
|
||||||
@ -27,3 +33,5 @@
|
|||||||
desc: 全网首个 Hugo NexT 忠实粉丝用户
|
desc: 全网首个 Hugo NexT 忠实粉丝用户
|
||||||
avatar: https://a.happy2008.top/imgs/stayhome-small.png
|
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-desc">{{ .FLinksDesc | safeHTML }}</div>
|
||||||
<div class="flinks-list-items">
|
<div class="flinks-list-items">
|
||||||
{{ range .FLinksList }}
|
{{ range .FLinksList }}
|
||||||
|
{{ if .visible }}
|
||||||
<div class="flinks-list-item">
|
<div class="flinks-list-item">
|
||||||
<a href="{{ .link }}" rel="external nofollow noreferrer" title=" {{ .name }}" target="_blank">
|
<a href="{{ .link }}" rel="external nofollow noreferrer" title=" {{ .name }}" target="_blank">
|
||||||
<div class="flinks-item-icon">
|
<div class="flinks-item-icon">
|
||||||
@ -23,6 +24,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user