mirror of https://github.com/onweru/compose.git

Strykar
4 days ago 0425a8b9c807a01dac7e4fe9b8475a55ecdbe8d5
1
2
3
4
5
6
{{- $src := .Get 0 }}
{{- $alt := .Get 1 }}
{{- $modifier := .Get 2 -}}
<figure {{ with $modifier }}class="icon_{{ . }}"{{ end }}>
  <img src="/images/{{ $src }}" alt="{{ $alt }}" class="icon">
</figure>