🏗️ 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:
elkan1788
2024-02-18 17:14:03 +08:00
parent 5610d561bb
commit 15933757ca
2 changed files with 11 additions and 1 deletions

View File

@@ -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 }}