Skip to content

Commit

Permalink
fix: twitter-cards
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 7, 2020
1 parent 6dc995a commit 123eea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/components/twitter-cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{- partial "components/author.html" $Deliver -}}
{{- $author := ($Deliver.Scratch.Get "author") -}}

{{- with $imgsURL -}}
{{- with $Deliver.Params.images | default $imgsURL -}}
<meta name="twitter:card" content="summary_large_image" />
{{ else -}}
<meta name="twitter:card" content="summary" />
Expand Down

0 comments on commit 123eea1

Please sign in to comment.