Skip to content

Commit

Permalink
add oEmbed links to public post HTML meta headers (#3522)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold authored Apr 13, 2024
1 parent 58842d0 commit bb67757
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bskyweb/templates/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<meta name="twitter:label1" content="Posted At">
<meta name="twitter:value1" content="{{ postView.IndexedAt }}">
<meta name="article:published_time" content="{{ postView.IndexedAt }}">
<meta name="article:published_time" content="{{ postView.IndexedAt }}">
<link rel="alternate" type="application/json+oembed" href="https://embed.bsky.app/oembed?format=json&url={{ postView.Uri | urlencode }}" />
{% endif -%}
{%- endblock %}

Expand Down

0 comments on commit bb67757

Please sign in to comment.