diff --git a/layouts/shortcodes/paige/youtube.html b/layouts/shortcodes/paige/youtube.html index b6e45512..86c66e19 100644 --- a/layouts/shortcodes/paige/youtube.html +++ b/layouts/shortcodes/paige/youtube.html @@ -53,9 +53,7 @@ {{ $params = $params | append (printf "start=%v" .) }} {{ end }} -{{ if $params }} - {{ $params = delimit (uniq (sort $params)) "&" }} -{{ end }} +{{ $params = delimit ($params | sort | uniq) "&" }}