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

6 lines
229 B
HTML
Raw Normal View History

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