removed useless id assignment in iconlink

This commit is contained in:
Gabriele Musco 2021-04-15 14:45:50 +02:00
parent d203c5b32a
commit fb9f03b78a
No known key found for this signature in database
GPG Key ID: 8539FD3454380B83
1 changed files with 1 additions and 2 deletions

View File

@ -1,9 +1,8 @@
{{ $id := (lower .Identifier) }}
<a
target="_blank"
class="nerdlink"
href="{{ .URL }}">
{{ $icon := index site.Data.supported_icons $id | safeHTML }}
{{ $icon := index site.Data.supported_icons (lower .Identifier) | safeHTML }}
{{ if $icon }}
{{ $icon | safeHTML }}
{{ else }}