diff options
author | Tom Sherman <the.tomsherman@gmail.com> | 2024-11-01 00:31:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-01 00:31:29 +0000 |
commit | 193954d4018e7017cac60c4d6666de59002fbf9a (patch) | |
tree | e5a2f515ba6625c34b5fa38c1bb75d2ff483bf89 /bskyweb | |
parent | 1b69ecb57aaf17a79689d39607e06265856f0c28 (diff) | |
download | voidsky-193954d4018e7017cac60c4d6666de59002fbf9a.tar.zst |
Add AT URIs as alternate links (#6033)
Diffstat (limited to 'bskyweb')
-rw-r--r-- | bskyweb/templates/post.html | 1 | ||||
-rw-r--r-- | bskyweb/templates/profile.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bskyweb/templates/post.html b/bskyweb/templates/post.html index d1fbea0ac..f6f03c7ee 100644 --- a/bskyweb/templates/post.html +++ b/bskyweb/templates/post.html @@ -38,6 +38,7 @@ <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 }}" /> + <link rel="alternate" href="{{ postView.Uri }}" /> {% endif -%} {%- endblock %} diff --git a/bskyweb/templates/profile.html b/bskyweb/templates/profile.html index 551dc15a6..cee8bae6a 100644 --- a/bskyweb/templates/profile.html +++ b/bskyweb/templates/profile.html @@ -37,6 +37,7 @@ {%- if requestHost %} <link rel="alternate" type="application/rss+xml" href="https://{{ requestHost }}/profile/{{ profileView.Did }}/rss"> {% endif %} + <link rel="alternate" href="at://{{ profileView.Did }}" /> {% endif -%} {%- endblock %} |