diff options
author | Eric Bailey <git@esb.lol> | 2024-02-06 20:52:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 18:52:04 -0800 |
commit | 541eb8ded120007b54efb4c2eb67363d6199fb8c (patch) | |
tree | 21ffb86ec4a1dbce635985eeaad46b00a1f813c2 /bskyweb/templates | |
parent | 29b31b7739db3ffe1512a966fded4e5f2a69b932 (diff) | |
download | voidsky-541eb8ded120007b54efb4c2eb67363d6199fb8c.tar.zst |
Update open graph data (#2760)
* Update open graph data * Format * Fix typo
Diffstat (limited to 'bskyweb/templates')
-rw-r--r-- | bskyweb/templates/base.html | 6 | ||||
-rw-r--r-- | bskyweb/templates/home.html | 23 | ||||
-rw-r--r-- | bskyweb/templates/post.html | 1 |
3 files changed, 20 insertions, 10 deletions
diff --git a/bskyweb/templates/base.html b/bskyweb/templates/base.html index 1f25743aa..e2f563c36 100644 --- a/bskyweb/templates/base.html +++ b/bskyweb/templates/base.html @@ -205,9 +205,13 @@ <link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png"> - {% block html_head_extra -%}{%- endblock %} + <link rel="mask-icon" href="/static/safari-pinned-tab.svg" color="#1185fe"> + <meta name="theme-color" content="#ffffff"> <meta name="application-name" content="Bluesky"> <meta name="generator" content="bskyweb"> + <meta property="og:site_name" content="Bluesky Social" /> + + {% block html_head_extra -%}{%- endblock %} </head> <body> {%- block body_all %} diff --git a/bskyweb/templates/home.html b/bskyweb/templates/home.html index e06b3a4b0..5d3fbad85 100644 --- a/bskyweb/templates/home.html +++ b/bskyweb/templates/home.html @@ -3,14 +3,21 @@ {% block head_title %}Bluesky{% endblock %} {% block html_head_extra -%} - <meta name="description" content="See what's next."> - <meta property="og:type" content="website"> - <meta property="og:title" content="Bluesky Social"> - <meta property="og:description" content="See what's next."> - <meta property="og:image" content="/static/social-card-default.png"> - <meta property="og:site_name" content="Bluesky Social"> - <meta name="twitter:card" content="summary"> - <meta name="twitter:site" content="@bluesky"> + <meta property="og:title" content="Bluesky" /> + <meta name="twitter:title" content="Bluesky" /> + + <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." /> + <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." /> + <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." /> + + <meta property="og:url" content="https://bsky.app" /> + <meta name="twitter:url" content="https://bsky.app" /> + + <meta property="og:image" content="https://bsky.app/static/social-card-default-gradient.png" /> + <meta property="twitter:image" content="https://bsky.app/static/social-card-default-gradient.png" /> + + <meta name="twitter:site" content="@bluesky" /> + <meta name="twitter:card" content="summary_large_image" /> {%- endblock %} {% block noscript_extra %} diff --git a/bskyweb/templates/post.html b/bskyweb/templates/post.html index b6688e35b..af6b768b3 100644 --- a/bskyweb/templates/post.html +++ b/bskyweb/templates/post.html @@ -10,7 +10,6 @@ {% block html_head_extra -%} {%- if postView -%} - <meta property="og:site_name" content="Bluesky Social"> <meta property="og:type" content="article"> <meta property="profile:username" content="{{ profileView.Handle }}"> {%- if requestURI %} |