{{- /* lazysizes and lightgallery.js */ -}} {{- $loading := resources.Get "svg/loading.svg" | minify -}} {{- $small := .src_s | default .src -}} {{- $large := .src_l | default .src -}} {{- $alt := .alt | default .src -}} {{- if .linked -}} {{ $alt }} {{- else -}} {{- if not .large -}} {{- $loading = resources.Get "svg/loading.small.svg" | minify -}} {{- end -}} {{ $alt }} {{- end -}}