mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
tpl/tplimpl: Remove leading whitespaces produced by Youtube shortcode
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
329b2342f0
commit
13b208e2f7
@@ -102,7 +102,7 @@ Renders an embedded YouTube video.
|
||||
{{- $allow := "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" }}
|
||||
{{- $referrerpolicy := "strict-origin-when-cross-origin" }}
|
||||
|
||||
{{- /* Render. */}}
|
||||
{{- /* Render. */ -}}
|
||||
<div
|
||||
{{- with $class }} class="{{ . }}" {{- end }}
|
||||
{{- with $divStyle }} style="{{ . | safeCSS }}" {{- end -}}
|
||||
|
Reference in New Issue
Block a user