Website-Redesign/layouts/partials/iconlink.html

15 lines
296 B
HTML
Raw Normal View History

<a
target="_blank"
class="nerdlink"
href="{{ .URL }}">
{{ $icon := index site.Data.supported_icons (lower .Identifier) | safeHTML }}
{{ if $icon }}
{{ $icon | safeHTML }}
{{ else }}
{{ .Name }}
{{ end }}
<span>
{{ .Name }}
</span>
</a>