diff options
author | Christian Nolte <hello@noltech.net> | 2017-12-01 11:17:46 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-12-01 20:59:11 +0100 |
commit | 23f69efb3914946b39ce673fcc0f2e3a9ed9d878 (patch) | |
tree | cb1e584b3ffd7868b1d97717e866c2fae51047af /tpl | |
parent | e69da7a4cb725987f153707bf2fc59c135007e2a (diff) |
Fix context of opengraph video range
Fixes #4136
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/tplimpl/template_embedded.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/tplimpl/template_embedded.go b/tpl/tplimpl/template_embedded.go index 2252d65cf..0b42da7c3 100644 --- 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 }} |