website/themes/data-coop-gerning/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 }}">