removed useless id assignment in iconlink
This commit is contained in:
parent
d203c5b32a
commit
fb9f03b78a
|
@ -1,9 +1,8 @@
|
||||||
{{ $id := (lower .Identifier) }}
|
|
||||||
<a
|
<a
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="nerdlink"
|
class="nerdlink"
|
||||||
href="{{ .URL }}">
|
href="{{ .URL }}">
|
||||||
{{ $icon := index site.Data.supported_icons $id | safeHTML }}
|
{{ $icon := index site.Data.supported_icons (lower .Identifier) | safeHTML }}
|
||||||
{{ if $icon }}
|
{{ if $icon }}
|
||||||
{{ $icon | safeHTML }}
|
{{ $icon | safeHTML }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
Loading…
Reference in New Issue