Add partial to support og:image
tag from page frontmatter
This commit is contained in:
parent
692362ff11
commit
84c18e6370
@ -1,2 +1,3 @@
|
|||||||
<meta property="article:author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Author }}{{ . }} {{ end }}{{ end }}">
|
<meta property="article:author" content="{{ if .Params.author }}{{ .Params.author }}{{ else }}{{ range .Site.Author }}{{ . }} {{ end }}{{ end }}">
|
||||||
<meta name="og:site_name" content="Jafner.dev"/>
|
<meta property="og:image" content="{{ if .Page.Params.ogimage }}{{ .Page.Params.ogimage }}{{ else }}img/logo.png{{ end }}">
|
||||||
|
<meta name="og:site_name" content="Jafner.dev"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user