fixed opengraph article tags
This commit is contained in:
parent
fd0cf72329
commit
b8ab6695be
|
@ -33,10 +33,10 @@
|
|||
<meta property="og:title" content="{{ .Title }}" />
|
||||
<meta property="og:type" content="article" />
|
||||
|
||||
<meta property="og:type:article:author" content="{{ .Site.Params.Author }}" />
|
||||
<meta property="og:type:article:published_time" content='{{ .Date.Format "2006-01-02T15:04:05Z-0700" }}' />
|
||||
<meta property="article:author" content="{{ .Site.Params.Author }}" />
|
||||
<meta property="article:published_time" content='{{ .Date.Format "2006-01-02T15:04:05Z-0700" }}' />
|
||||
{{ range .Params.tags }}
|
||||
<meta property="og:type:article:tag" content="{{ . }}" />
|
||||
<meta property="article:tag" content="{{ . }}" />
|
||||
{{ end }}
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
<meta property="og:image" content='{{ if .Params.Image }}{{ .Params.Image | absURL }}{{ else }}{{ .Site.Params.Logo | default "/img/icon.svg" | absURL }}{{ end }}' />
|
||||
|
|
Loading…
Reference in New Issue