Remove useless uses of uniq
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
Reference in New Issue
Block a user