FIX social icon display

This commit is contained in:
Hoernschen 2023-12-27 00:40:58 +01:00
parent 04f1dd0327
commit bfccca3b45
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462

View file

@ -3,7 +3,7 @@
{{ if .social }} {{ if .social }}
<div class="social"> <div class="social">
{{ range .social }} {{ range .social }}
<a href="{{ .url }}"><i class="{{ if .type }} icon-{{ .type }} {{ else }} icon-link {{ end }}"></i>{{ if .text }} {{ .text }} {{ end }}</a> <a href="{{ .url }}"><i class="{{ if .type }} icon-{{ .type }} {{ else }} icon-link {{ end }}"></i>{{ if .text }}{{ .text }}{{ end }}</a>
{{ end }} {{ end }}
</div> </div>
{{ end }} {{ end }}