Remove useless uses of uniq

master
Will Faught 2 years ago
parent 63e9f1e2cd
commit 3236359560

@ -41,7 +41,7 @@
{{ $style = $style | append (printf "width: %v" $width) }}
{{ end }}
{{ $style = delimit ($style | sort | uniq) "; " }}
{{ $style = delimit ($style | sort) "; " }}
{{ if $float }}
{{ if eq $float "start" }}

@ -110,7 +110,7 @@
{{ $params = $params | append "transparent=0" }}
{{ end }}
{{ $params = delimit ($params | sort | uniq) "&" }}
{{ $params = delimit ($params | sort) "&" }}
{{ $src := print "https://player.vimeo.com/video/" $video }}

@ -64,7 +64,7 @@
{{ $params = $params | append (printf "start=%v" .) }}
{{ end }}
{{ $params = delimit ($params | sort | uniq) "&" }}
{{ $params = delimit ($params | sort) "&" }}
{{ $src := print "https://" $host "/" $path }}

Loading…
Cancel
Save