- move normalization of provided config dictionary keys to lower case from shortcode to partial - allows using any case when supplying config dict from other layouts
6 lines
122 B
HTML
6 lines
122 B
HTML
{{ if .IsNamedParams -}}
|
|
{{ partial "lazyimg" .Params }}
|
|
{{- else -}}
|
|
{{ partial "lazyimg" (.Get 0) }}
|
|
{{- end }}
|