website/themes/datacoop2020/layouts/shortcodes/imgAbs.html

6 lines
229 B
HTML

{{- $pathURL := .Get "pathURL" -}}
{{- $alt := .Get "alt" -}}
{{- $class := .Get "class" -}}
{{- $style := .Get "style" -}}
<img src="{{ $pathURL | absURL }}" alt="{{ $alt }}" class="{{ $class }}" style="{{ $style | safeCSS }}">