removed useless id assignment in iconlink
This commit is contained in:
parent
d203c5b32a
commit
fb9f03b78a
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue