{{- if len .Params | eq 2 -}}
<p>
  <img src="{{ index .Params 1 | relURL | safeURL }}" alt="{{ index .Params 0 }}" />
</p>
{{- end -}}