Skip to content
Snippets Groups Projects
Unverified Commit 03dc1578 authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Merge pull request #375 from osunyorg/fix-share-image

Fix share image
parents b0721f57 16bef3cd
No related branches found
Tags v6.0.4
No related merge requests found
......@@ -24,11 +24,13 @@
{{- end -}}
{{- end -}}
{{- $sharedImage := "" -}}
{{- $ogImage := "" -}}
{{- $twitterImage := "" -}}
{{- $pagefindImage := "" -}}
{{- $sharedImage := partial "GetMedia" site.Data.website.default.shared_image.id -}}
{{- if site.Data.website.default.shared_image }}
{{- $sharedImage = partial "GetMedia" (index site.Data.website.default.shared_image "id") -}}
{{ end -}}
{{ with .Params.image }}
{{- $sharedImage = partial "GetMedia" .id -}}
{{ end }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment