chg: More improvements on the twitter card

pull/156/head
Raphaël Vinot 2021-01-18 12:50:58 +01:00
parent 8bd874e2b0
commit 660cebe01d
1 changed files with 3 additions and 5 deletions

View File

@ -14,12 +14,10 @@
/>
<meta
property="og:image"
content="//{{public_domain}}{{ url_for('image', tree_uuid=tree_uuid) }}"
/>
<meta
name="twitter:image"
content="//{{public_domain}}{{ url_for('thumbnail', tree_uuid=tree_uuid, width=1024) }}"
content="//{{public_domain}}{{ url_for('thumbnail', tree_uuid=tree_uuid, width=1200) }}"
/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="630"/>
<meta
property="og:url"
content="//{{public_domain}}{{ url_for('tree', tree_uuid=tree_uuid) }}"