🎨 Add cloud resource & CDN service vendors information.

This commit is contained in:
凡梦星尘
2022-06-12 14:54:12 +08:00
parent a6820c7d32
commit 7ab696887c
6 changed files with 41 additions and 1 deletions

View File

@@ -88,4 +88,19 @@
<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode={{ .gonganNum }}" target="_blank">{{ .provinceAbbr }}公网安备 {{ .gonganNum }} 号</a>
</div>
{{- end }}
{{- end }}
{{- end }}
{{- with $ft.vendors }}
<div class="vendors-list">
{{- range .list }}
<a target="_blank" href="{{ .link }}" title="{{ .name }}">
{{- if .img }}
{{ $img := split .img "||" }}
<img src="{{- trim (index $img 0) " " }}" width="{{- trim (index $img 1) " " -}}px" alt="{{ .name }}" />
{{- else }}
{{ .name }}
{{- end }}
</a>
{{- end }}
<span>{{ .title }}</span>
</div>
{{- end }}