hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 23f69efb3914946b39ce673fcc0f2e3a9ed9d878
parent e69da7a4cb725987f153707bf2fc59c135007e2a
Author: Christian Nolte <hello@noltech.net>
Date:   Fri,  1 Dec 2017 11:17:46 +0100

Fix context of opengraph video range

Fixes #4136

Diffstat:
Mtpl/tplimpl/template_embedded.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go
@@ -205,7 +205,7 @@ func (t *templateHandler) embedTemplates() {
 <meta property="og:audio" content="{{ . }}" />{{ end }}{{ with .Params.locale }}
 <meta property="og:locale" content="{{ . }}" />{{ end }}{{ with .Site.Params.title }}
 <meta property="og:site_name" content="{{ . }}" />{{ end }}{{ with .Params.videos }}
-{{ range .Params.videos }}
+{{ range . }}
   <meta property="og:video" content="{{ . | absURL }}" />
 {{ end }}{{ end }}