Fix context of opengraph video range

Fixes #4136
This commit is contained in:
Christian Nolte 2017-12-01 11:17:46 +01:00 committed by Bjørn Erik Pedersen
parent e69da7a4cb
commit 23f69efb39

View file

@ -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 }}