fix(meta): fix quote

This commit is contained in:
Matthieu Bessat 2023-07-10 17:02:28 +02:00
parent a421c812a5
commit 93177a4c9a

View file

@ -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 -}}