Skip to content

Commit

Permalink
fixup! feat: add OpenGraph image
Browse files Browse the repository at this point in the history
  • Loading branch information
wzyboy committed Aug 10, 2023
1 parent 359dde1 commit 831eda7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/tweet.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta property="og:title" content="@{{ tweet.user.screen_name }}" />
<meta property="og:description" content="{{ tweet.content_text or tweet.full_text or tweet.text }}" />
{%- if images %}
<meta property="og:image" content="{{ image[0].url }}">
<meta property="og:image" content="{{ images[0].url }}">
{%- endif %}
{% endblock %}

Expand Down

0 comments on commit 831eda7

Please sign in to comment.