shithub: hugo

Download patch

ref: 23f69efb3914946b39ce673fcc0f2e3a9ed9d878
parent: e69da7a4cb725987f153707bf2fc59c135007e2a
author: Christian Nolte <[email protected]>
date: Fri Dec 1 06:17:46 EST 2017

Fix context of opengraph video range

Fixes #4136

--- a/tpl/tplimpl/template_embedded.go
+++ b/tpl/tplimpl/template_embedded.go
@@ -205,7 +205,7 @@
 <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 }}