Bluesky app fork with some witchin' additions 💫

Update open graph data (#2760)

* Update open graph data

* Format

* Fix typo

authored by

Eric Bailey and committed by
GitHub
541eb8de 29b31b77

+54 -11
+1 -1
bskyweb/cmd/bskyweb/formating.go
··· 51 } 52 // TODO: could embed the actual post text? 53 if post.Embed != nil && (post.Embed.EmbedRecord != nil || post.Embed.EmbedRecordWithMedia != nil) { 54 - postText = fmt.Sprintf("%s\n\n[contains quote post or other embeded content]", postText) 55 } 56 return postText 57 }
··· 51 } 52 // TODO: could embed the actual post text? 53 if post.Embed != nil && (post.Embed.EmbedRecord != nil || post.Embed.EmbedRecordWithMedia != nil) { 54 + postText = fmt.Sprintf("%s\n\n[contains quote post or other embedded content]", postText) 55 } 56 return postText 57 }
+33
bskyweb/static/safari-pinned-tab.svg
···
··· 1 + <?xml version="1.0" standalone="no"?> 2 + <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" 3 + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> 4 + <svg version="1.0" xmlns="http://www.w3.org/2000/svg" 5 + width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000" 6 + preserveAspectRatio="xMidYMid meet"> 7 + <metadata> 8 + Created by potrace 1.14, written by Peter Selinger 2001-2017 9 + </metadata> 10 + <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)" 11 + fill="#000000" stroke="none"> 12 + <path d="M390 4706 c-136 -38 -201 -106 -247 -261 -25 -85 -24 -350 1 -645 2 13 + -19 7 -71 10 -115 4 -44 9 -96 11 -115 2 -19 6 -71 10 -115 6 -84 23 -243 30 14 + -285 2 -14 6 -52 10 -85 6 -53 13 -98 29 -171 11 -54 63 -166 111 -240 108 15 + -167 281 -302 470 -369 28 -9 59 -21 70 -26 30 -13 181 -46 250 -55 33 -4 113 16 + -8 177 -8 64 -1 114 -4 110 -7 -6 -4 -65 -17 -197 -43 -11 -2 -47 -11 -80 -21 17 + -33 -9 -73 -20 -90 -24 -50 -14 -180 -68 -245 -103 -91 -49 -173 -119 -219 18 + -188 -50 -75 -61 -112 -68 -217 -12 -180 93 -411 310 -681 222 -277 442 -450 19 + 663 -524 88 -29 233 -31 309 -4 180 64 333 229 473 511 77 155 189 454 247 20 + 664 19 67 29 76 39 34 9 -39 27 -100 91 -317 148 -494 305 -754 516 -850 74 21 + -34 109 -40 219 -39 108 1 202 27 325 91 92 48 267 161 295 192 3 3 25 21 50 22 + 41 52 42 151 143 205 209 20 25 44 54 53 65 28 33 122 179 122 189 0 5 6 17 23 + 14 25 8 9 28 57 46 106 108 309 -13 558 -355 727 -130 65 -292 118 -435 144 24 + -73 14 -54 19 68 20 254 1 468 53 660 160 241 135 421 396 447 649 4 38 8 72 25 + 10 75 2 5 5 28 20 168 3 23 7 61 10 85 2 23 7 74 11 112 3 39 7 86 9 105 2 19 26 + 7 76 10 125 4 50 8 106 10 125 20 204 26 480 13 558 -26 153 -80 247 -168 292 27 + -203 104 -452 40 -817 -209 -131 -90 -162 -114 -248 -186 -319 -270 -683 -685 28 + -967 -1105 -91 -134 -218 -344 -218 -360 0 -23 -18 -7 -39 36 -27 58 -135 231 29 + -210 339 -64 93 -211 295 -226 311 -5 6 -21 26 -35 44 -14 18 -30 38 -35 44 30 + -6 6 -39 46 -74 90 -124 152 -370 410 -511 536 -19 17 -44 39 -55 49 -218 194 31 + -582 408 -762 446 -57 13 -189 13 -233 1z"/> 32 + </g> 33 + </svg>
bskyweb/static/social-card-default-gradient.png

This is a binary file and will not be displayed.

bskyweb/static/social-card-default.png

This is a binary file and will not be displayed.

+5 -1
bskyweb/templates/base.html
··· 205 <link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png"> 206 <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png"> 207 <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png"> 208 - {% block html_head_extra -%}{%- endblock %} 209 <meta name="application-name" content="Bluesky"> 210 <meta name="generator" content="bskyweb"> 211 </head> 212 <body> 213 {%- block body_all %}
··· 205 <link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png"> 206 <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png"> 207 <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png"> 208 + <link rel="mask-icon" href="/static/safari-pinned-tab.svg" color="#1185fe"> 209 + <meta name="theme-color" content="#ffffff"> 210 <meta name="application-name" content="Bluesky"> 211 <meta name="generator" content="bskyweb"> 212 + <meta property="og:site_name" content="Bluesky Social" /> 213 + 214 + {% block html_head_extra -%}{%- endblock %} 215 </head> 216 <body> 217 {%- block body_all %}
+15 -8
bskyweb/templates/home.html
··· 3 {% block head_title %}Bluesky{% endblock %} 4 5 {% block html_head_extra -%} 6 - <meta name="description" content="See what's next."> 7 - <meta property="og:type" content="website"> 8 - <meta property="og:title" content="Bluesky Social"> 9 - <meta property="og:description" content="See what's next."> 10 - <meta property="og:image" content="/static/social-card-default.png"> 11 - <meta property="og:site_name" content="Bluesky Social"> 12 - <meta name="twitter:card" content="summary"> 13 - <meta name="twitter:site" content="@bluesky"> 14 {%- endblock %} 15 16 {% block noscript_extra %}
··· 3 {% block head_title %}Bluesky{% endblock %} 4 5 {% block html_head_extra -%} 6 + <meta property="og:title" content="Bluesky" /> 7 + <meta name="twitter:title" content="Bluesky" /> 8 + 9 + <meta name="description" content="Social media as it should be. Find your community among millions of users, unleash your creativity, and have some fun again." /> 10 + <meta name="og:description" content="Social media as it should be. Find your community among millions of users, unleash your creativity, and have some fun again." /> 11 + <meta name="twitter:description" content="Social media as it should be. Find your community among millions of users, unleash your creativity, and have some fun again." /> 12 + 13 + <meta property="og:url" content="https://bsky.app" /> 14 + <meta name="twitter:url" content="https://bsky.app" /> 15 + 16 + <meta property="og:image" content="https://bsky.app/static/social-card-default-gradient.png" /> 17 + <meta property="twitter:image" content="https://bsky.app/static/social-card-default-gradient.png" /> 18 + 19 + <meta name="twitter:site" content="@bluesky" /> 20 + <meta name="twitter:card" content="summary_large_image" /> 21 {%- endblock %} 22 23 {% block noscript_extra %}
-1
bskyweb/templates/post.html
··· 10 11 {% block html_head_extra -%} 12 {%- if postView -%} 13 - <meta property="og:site_name" content="Bluesky Social"> 14 <meta property="og:type" content="article"> 15 <meta property="profile:username" content="{{ profileView.Handle }}"> 16 {%- if requestURI %}
··· 10 11 {% block html_head_extra -%} 12 {%- if postView -%} 13 <meta property="og:type" content="article"> 14 <meta property="profile:username" content="{{ profileView.Handle }}"> 15 {%- if requestURI %}