Fix pages with no explicitly-set og:image
value falling back to missing image file
This commit is contained in:
parent
5983558a8e
commit
98f5c3e7c1
@ -1,3 +1,3 @@
|
||||
<meta property="article:author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Author }}{{ . }} {{ end }}{{ end }}">
|
||||
<meta property="og:image" content="{{ if .Page.Params.ogimage }}{{ .Page.Params.ogimage }}{{ else }}img/logo.png{{ end }}">
|
||||
<meta property="og:image" content="{{ if .Page.Params.ogimage }}{{ .Page.Params.ogimage }}{{ else }}img/Jafner.dev.logo.png{{ end }}">
|
||||
<meta name="og:site_name" content="Jafner.dev"/>
|
||||
|
Loading…
Reference in New Issue
Block a user