fix(meta): fix quote
This commit is contained in:
parent
a421c812a5
commit
93177a4c9a
1 changed files with 4 additions and 4 deletions
|
@ -15,12 +15,12 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
">
|
">
|
||||||
|
|
||||||
<meta property='og:locale' content='{{ .Site.LanguageCode }}'>
|
<meta property="og:locale" content="{{ .Site.LanguageCode }}">
|
||||||
|
|
||||||
{{- if .IsPage -}}
|
{{- if .IsPage -}}
|
||||||
<meta property='article:section' content='{{ .Section | title }}' />
|
<meta property="article:section" content="{{ .Section | title }}" />
|
||||||
{{- range .Params.tags -}}
|
{{- range .Params.tags -}}
|
||||||
<meta property='article:tag' content='{{ . }}' />
|
<meta property="article:tag" content="{{ . }}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
@ -39,6 +39,6 @@
|
||||||
|
|
||||||
{{ $image := partialCached "helpers/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }}
|
{{ $image := partialCached "helpers/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }}
|
||||||
{{ if $image.exists }}
|
{{ if $image.exists }}
|
||||||
<meta property='og:image' content='{{ absURL $image.permalink }}' />
|
<meta property="og:image" content="{{ absURL $image.permalink }}" />
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue