17 lines
616 B
HTML
17 lines
616 B
HTML
|
{{- with .image }}
|
||
|
<meta property="og:image" itemprop="image" content="{{ .Permalink | absURL }}" />
|
||
|
{{- with .Width }}
|
||
|
<meta property="og:image:width" content="{{ . }}" />
|
||
|
{{- end }}
|
||
|
{{- with .Height }}
|
||
|
<meta property="og:image:height" content="{{ . }}" />
|
||
|
{{- end }}
|
||
|
<meta name="twitter:image" content="{{ .Permalink | absURL }}" />
|
||
|
<meta name="twitter:image:src" content="{{ .Permalink | absURL }}" />
|
||
|
{{- end -}}
|
||
|
|
||
|
|
||
|
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
|
||
|
{{- with .Params.videos }}{{- range . }}
|
||
|
<meta property="og:video" content="{{ . | absURL }}" />
|
||
|
{{ end }}{{ end -}}
|