7 lines
204 B
HTML
7 lines
204 B
HTML
|
{{- $src := .Get 0 }}
|
||
|
{{- $alt := .Get 1 }}
|
||
|
{{- $modifier := .Get 2 -}}
|
||
|
<figure {{ with $modifier }}class="icon_{{ . }}"{{ end }}>
|
||
|
<img src="/images/{{ $src }}" alt="{{ $alt }}" class="icon">
|
||
|
</figure>
|