Remove useless uses of uniq
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
{{ $style = $style | append (printf "width: %v" $width) }}
|
{{ $style = $style | append (printf "width: %v" $width) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $style = delimit ($style | sort | uniq) "; " }}
|
{{ $style = delimit ($style | sort) "; " }}
|
||||||
|
|
||||||
{{ if $float }}
|
{{ if $float }}
|
||||||
{{ if eq $float "start" }}
|
{{ if eq $float "start" }}
|
||||||
|
@@ -110,7 +110,7 @@
|
|||||||
{{ $params = $params | append "transparent=0" }}
|
{{ $params = $params | append "transparent=0" }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $params = delimit ($params | sort | uniq) "&" }}
|
{{ $params = delimit ($params | sort) "&" }}
|
||||||
|
|
||||||
{{ $src := print "https://player.vimeo.com/video/" $video }}
|
{{ $src := print "https://player.vimeo.com/video/" $video }}
|
||||||
|
|
||||||
|
@@ -64,7 +64,7 @@
|
|||||||
{{ $params = $params | append (printf "start=%v" .) }}
|
{{ $params = $params | append (printf "start=%v" .) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ $params = delimit ($params | sort | uniq) "&" }}
|
{{ $params = delimit ($params | sort) "&" }}
|
||||||
|
|
||||||
{{ $src := print "https://" $host "/" $path }}
|
{{ $src := print "https://" $host "/" $path }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user