bskyweb: iterate on HTML card metadata (#609)
Probably still not perfect, but better. - don't user avatar image. use banner for profile and post img, or nothing - most twitter metadata fields were redundant; twitter will parse out opengraph ("og:"), so don't duplicate those - add regular HTML description (for google, etc) - include URI - actually include text
This commit is contained in:
parent
19d6ded631
commit
d624b7cf58
4 changed files with 74 additions and 36 deletions
|
@ -3,14 +3,12 @@
|
|||
{% 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:type" content="article"/>
|
||||
<meta property="og:image" content="/static/default-social-card.png"/>
|
||||
<meta name="twitter:title" content="Bluesky Social"/>
|
||||
<meta name="twitter:description" content="See what's next."/>
|
||||
<meta name="twitter:image" content="/static/default-social-card.png"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta property="og:image" content="/static/social-card-default.png"/>
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:site" content="@bluesky"/>
|
||||
{%- endblock %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue