fix: resize og:image

This commit is contained in:
Matthieu Bessat 2024-05-07 19:02:32 +02:00
parent e326cdfc95
commit da18fe3b68
2 changed files with 4 additions and 10 deletions

View file

@ -39,6 +39,6 @@
{{ $image := partial "helpers/image" (dict "Context" . "Type" "opengraph") .RelPermalink "opengraph" }}
{{ if $image.exists }}
<meta property="og:image" content="{{ absURL $image.permalink }}" />
<meta property="og:image" content="{{ $image.permalink }}" />
{{- end -}}