7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-04 19:40:36 +00:00

Fix sharing image URL

This commit is contained in:
Hugo Peixoto 2021-11-01 01:18:08 +00:00
parent f5c9599a98
commit e886ef3014
2 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -12,7 +12,7 @@
{{- else if .Params.header.image -}}
{{- $og_image = printf "images/%s" .Params.header.image | absURL -}}
{{- else if site.Params.sharing_image -}}
{{- $og_image = printf "images/%s" site.Params.sharing_image | absURL -}}
{{- $og_image = printf "img/%s" site.Params.sharing_image | absURL -}}
{{- else if $has_logo -}}
{{- $og_image = (partial "functions/get_logo" (dict "constraint" "fit" "size" 300)).Permalink -}}
{{- $twitter_card = "summary" -}}