mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-31 09:21:26 +00:00
add multiple twitter card types
This commit is contained in:
parent
aec94f6380
commit
b2184866f2
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,6 @@
|
|||
|
||||
<meta name="twitter:site" content="@lbryio"/>
|
||||
<meta name="twitter:creator" content="@lbryio"/>
|
||||
<meta name="twitter:card" content="app"/>
|
||||
<meta name="twitter:description" content="<?php echo Response::getMetaDescription() ?>"/>
|
||||
<?php if (Response::getMetaImages()): ?>
|
||||
<?php $url = reset(Response::getMetaImages()) ?>
|
||||
|
@ -64,10 +63,13 @@
|
|||
<?php endif ?>
|
||||
|
||||
<?php if (in_array($_SERVER['REQUEST_URI'], ['/', '/android', '/get'])): ?>
|
||||
<meta name="twitter:card" content="app"/>
|
||||
<meta name="twitter:app:country" content="US"/>
|
||||
<meta name="twitter:app:name:googleplay" content="LBRY beta"/>
|
||||
<meta name="twitter:app:id:googleplay" content="io.lbry.browser"/>
|
||||
<meta name="twitter:app:url:googleplay" content="https://play.google.com/store/apps/details?id=io.lbry.browser"/>
|
||||
<?php else: ?>
|
||||
<meta name=”twitter:card” content=”summary_large_image”>
|
||||
<?php endif ?>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue