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 1353c07 commit 8cbcf69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/layouts/partials/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
<meta name="author" content="{{ $author | default .Site.Params.author }}">

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

{{- /* Manually add `twitter:creator` since Hugo's internal shortcode doesn't add it */ -}}
<meta name="twitter:creator" content="@{{ $authorTwitter | default .Site.Params.twitter }}">

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

{{- /* 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) -}}
Expand Down

0 comments on commit 8cbcf69

Please sign in to comment.