File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
hugo-modules/core/utils/seo/private Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 133
133
{{ $img := false }}
134
134
135
135
{{ with $settings.default_share_image }}
136
- {{ $img = .url }}
136
+ {{ $img = partial "utils/get-abs-url.html" .url }}
137
137
{{ end }}
138
138
139
139
{{ with $seo_params.share_image }}
140
- {{ $img = .url }}
140
+ {{ $img = partial "utils/get-abs-url.html" .url }}
141
141
{{ else }}
142
142
{{/* If no SEO IMAGE is set, we look for the .Params.images slice
143
143
and use the first one if it has an `image` key */}}
144
144
{{ with .Params.images }}
145
145
{{ with index . 0 }}
146
146
{{ if reflect.IsMap . }}
147
147
{{ with .image }}
148
- {{ $img = .url }}
148
+ {{ $img = partial "utils/get-abs-url.html" .url }}
149
149
{{ end }}
150
150
{{ else }}
151
- {{ $img = .url }}
151
+ {{ $img = partial "utils/get-abs-url.html" .url }}
152
152
{{ end }}
153
153
{{ end }}
154
154
{{ end }}
You can’t perform that action at this time.
0 commit comments