{{- $slider := .slider }} {{- $color := .color }} {{ $length := len $slider.images }} {{- $id := "slider"}} {{if $slider.id}} {{- $id = $slider.id}} {{else if .id}} {{- $id = .id }} {{end}} {{ $template := resources.Get "scss/slider.scss" }} {{ if $template }} {{ $index := $template | resources.ExecuteAsTemplate "css/slider.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }} {{ end }}
{{ if gt $length 1}} {{ end }}