Add og:image tag
This commit is contained in:
parent
cd24fc9c1b
commit
b867f968fa
@ -6,6 +6,9 @@
|
||||
<meta property="og:title" content="{{ if ne .Url "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" />
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
{{ with .Params.images }}{{ range first 5 . }}
|
||||
<meta property="og:image" content="{{ . }}" />
|
||||
{{ end }}{{ end }}
|
||||
{{ if .IsPage }}
|
||||
<meta property="og:type" content="article" />
|
||||
{{ with .Site.Params.facebook }}
|
||||
|
Loading…
Reference in New Issue
Block a user