add oEmbed links to public post HTML meta headers (#3522)

zio/stable
bnewbold 2024-04-13 12:21:59 -07:00 committed by GitHub
parent 58842d03a9
commit bb67757094
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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 %}