Skip to content

Commit

Permalink
Update social.html
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Mar 30, 2024
1 parent 3b8e015 commit a1c5f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/partials/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

{{- /* Manually add `og:image`'s dimensions since Hugo's internal shortcode doesn't do it */ -}}
{{- $socialImage := path.Join "src/static" (index $.Site.Params.images 0) -}}
{{- with imageConfig $socialImage }}
{{- with imageConfig $socialImage -}}
<meta property="og:image:width" content="{{ .Width }}">
<meta property="og:image:height" content="{{ .Height }}">
{{- end }}

{{- template "_internal/schema.html" . }}
{{ template "_internal/schema.html" . -}}

0 comments on commit a1c5f43

Please sign in to comment.