aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tpl/tplimpl/embedded/templates/shortcodes/youtube.html7
1 files changed, 1 insertions, 6 deletions
diff --git a/tpl/tplimpl/embedded/templates/shortcodes/youtube.html b/tpl/tplimpl/embedded/templates/shortcodes/youtube.html
index 441469d0a..b61c6130a 100644
--- a/tpl/tplimpl/embedded/templates/shortcodes/youtube.html
+++ b/tpl/tplimpl/embedded/templates/shortcodes/youtube.html
@@ -84,12 +84,7 @@ Renders an embedded YouTube video.
{{- if $loop }}
{{- $params = merge $params (dict "playlist" $id) }}
{{- end }}
- {{- $s := slice }}
- {{- range $k, $v := $params }}
- {{- $s = $s | append $k }}
- {{- $s = $s | append $v }}
- {{- end }}
- {{- with querify $s }}
+ {{- with querify $params }}
{{- $src = printf "%s?%s" $src . }}
{{- end }}