about summary refs log tree commit diff
path: root/bskyweb/templates/post.html
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2024-04-13 12:21:59 -0700
committerGitHub <noreply@github.com>2024-04-13 12:21:59 -0700
commitbb677570946bdf8810c6511c6bc5b9bab1241384 (patch)
tree15dd814f4ef28bc4a10715b15c223f3bc172b79b /bskyweb/templates/post.html
parent58842d03a95af014cb44c3495d109e3bb6731fde (diff)
downloadvoidsky-bb677570946bdf8810c6511c6bc5b9bab1241384.tar.zst
add oEmbed links to public post HTML meta headers (#3522)
Diffstat (limited to 'bskyweb/templates/post.html')
-rw-r--r--bskyweb/templates/post.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/bskyweb/templates/post.html b/bskyweb/templates/post.html
index af6b768b3..d1fbea0ac 100644
--- a/bskyweb/templates/post.html
+++ b/bskyweb/templates/post.html
@@ -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 %}