mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +01:00
layouts/partials/opengraph.html: Adjust .Params.audio block
Bring it back on the same line as the above, to make it more like the Hugo template that we stole it from. See: tpl/template_embedded.go
This commit is contained in:
parent
64541ef84e
commit
868b5b3c13
@ -11,8 +11,7 @@
|
||||
{{ if not .Lastmod.IsZero }}<meta property="article:modified_time" content="{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}"/>{{ end }}
|
||||
{{ else }}
|
||||
{{ if not .Site.LastChange.IsZero }}<meta property="og:updated_time" content="{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}"/>{{ end }}
|
||||
{{ end }}
|
||||
{{ with .Params.audio }}
|
||||
{{ end }}{{ with .Params.audio }}
|
||||
<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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user