<!-- {{/*
|
|
Hack to allow generic site image for Nodes until supported
|
|
by the Hugo internal opengraph template.
|
|
*/}}-->
|
|
{{ if and (.IsNode) (.Site.Params.images) }}
|
|
<meta property="og:image" content="{{ index .Site.Params.images 0 }}">
|
|
{{ end }}
|
|
<!-- {{/*
|
|
If specified, fallback to site image if not overriden at Page level
|
|
*/}}-->
|
|
{{ if and (.IsPage) (not .Params.images) (.Site.Params.images) }}
|
|
<meta property="og:image" content="{{ index .Site.Params.images 0 }}">
|
|
{{ end }}
|