Bluesky app fork with some witchin' additions 💫

Fix default opengraph (#8872)

* Fix default opengraph

* Add avatar back

* Remove default og images

authored by Eric Bailey and committed by GitHub 6a16ef83 8ec20026

Changed files
+5 -2
bskyweb
+1
bskyweb/templates/base.html
··· 95 95 <meta name="application-name" content="Bluesky"> 96 96 <meta name="generator" content="bskyweb"> 97 97 <meta property="og:site_name" content="Bluesky Social" /> 98 + <meta name="twitter:site" content="@bluesky" /> 98 99 <link type="application/activity+json" href="" /> 99 100 100 101 {% block html_head_extra -%}{%- endblock %}
-1
bskyweb/templates/home.html
··· 17 17 <meta property="og:image" content="https://bsky.app/static/social-card-default-gradient.png" /> 18 18 <meta property="twitter:image" content="https://bsky.app/static/social-card-default-gradient.png" /> 19 19 20 - <meta name="twitter:site" content="@bluesky" /> 21 20 <meta name="twitter:card" content="summary_large_image" /> 22 21 {%- endblock %} 23 22
+4 -1
bskyweb/templates/post.html
··· 24 24 {%- if postText %} 25 25 <meta name="description" content="{{ postText }}"> 26 26 <meta property="og:description" content="{{ postText }}"> 27 + <meta property="twitter:description" content="{{ postText }}"> 27 28 {% endif -%} 28 29 {%- if imgThumbUrls %} 29 30 {% for imgThumbUrl in imgThumbUrls %} 30 31 <meta property="og:image" content="{{ imgThumbUrl }}"> 32 + <meta property="twitter:image" content="{{ imgThumbUrl }}"> 31 33 {% endfor %} 32 34 <meta name="twitter:card" content="summary_large_image"> 33 35 {%- elif postView.Author.Avatar %} 34 - {# Don't use avatar image in cards; usually looks bad #} 35 36 <meta name="twitter:card" content="summary"> 37 + <meta property="og:image" content="{{ postView.Author.Avatar }}"> 38 + <meta property="twitter:image" content="{{ postView.Author.Avatar }}"> 36 39 {% endif %} 37 40 <meta name="twitter:label1" content="Posted At"> 38 41 <meta name="twitter:value1" content="{{ postView.IndexedAt }}">