seo
This commit is contained in:
parent
2814692100
commit
1f45c1b1ea
|
@ -52,6 +52,13 @@
|
||||||
<meta name="twitter:image:src" content="{{ $staticIcon }}" />
|
<meta name="twitter:image:src" content="{{ $staticIcon }}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{/*=== extra params? ===*/}}
|
||||||
|
{{- with .Params.audio }}<meta property="og:audio" content="{{ . }}" />{{ end }}
|
||||||
|
{{- with .Params.locale }}<meta property="og:locale" content="{{ . }}" />{{ end }}
|
||||||
|
{{- with .Params.videos }}{{- range . }}
|
||||||
|
<meta property="og:video" content="{{ . | absURL }}" />
|
||||||
|
{{ end }}{{ end }}
|
||||||
|
|
||||||
{{/*=== article ===*/}}
|
{{/*=== article ===*/}}
|
||||||
{{ with or .Params.author .Site.Params.author -}}
|
{{ with or .Params.author .Site.Params.author -}}
|
||||||
{{ "<!-- author -->" | safeHTML }}
|
{{ "<!-- author -->" | safeHTML }}
|
||||||
|
@ -72,7 +79,7 @@
|
||||||
<meta property="article:section" content="{{ . }}" />
|
<meta property="article:section" content="{{ . }}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Params.tags }}
|
{{- with .Params.tags }}
|
||||||
<meta property="article:tag" name="keywords" content='{{ delimit . " "}}' />
|
<meta property="article:tag" itemprop="keywords" name="keywords" content='{{ delimit . " "}}' />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if isset .Params "date" }}
|
{{- if isset .Params "date" }}
|
||||||
|
|
Loading…
Reference in a new issue