mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Use PNG as meta image since SVG is unsupported
Also use the homepage image instead of the logo because: 1. It's more visually appealing 2. It's what facebook is already using https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fstandardebooks.org%2F
This commit is contained in:
parent
d27648c891
commit
27f7862ae9
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ print("\n");
|
||||||
<meta content="<? if($title != ''){ ?><?= Formatter::ToPlainText($title) ?><? }else{ ?>Standard Ebooks<? } ?>" property="og:title"/>
|
<meta content="<? if($title != ''){ ?><?= Formatter::ToPlainText($title) ?><? }else{ ?>Standard Ebooks<? } ?>" property="og:title"/>
|
||||||
<meta content="<?= $ogType ?? 'website' ?>" property="og:type"/>
|
<meta content="<?= $ogType ?? 'website' ?>" property="og:type"/>
|
||||||
<meta content="<?= SITE_URL . str_replace(SITE_URL, '', ($_SERVER['ORIG_PATH_INFO'] ?? $_SERVER['SCRIPT_URI'] ?? '')) ?>" property="og:url"/>
|
<meta content="<?= SITE_URL . str_replace(SITE_URL, '', ($_SERVER['ORIG_PATH_INFO'] ?? $_SERVER['SCRIPT_URI'] ?? '')) ?>" property="og:url"/>
|
||||||
<meta content="<?= SITE_URL . ($coverUrl ?? '/images/logo.svg') ?>" property="og:image"/>
|
<meta content="<?= SITE_URL . ($coverUrl ?? '/images/devices@2x.png') ?>" property="og:image"/>
|
||||||
<meta content="summary_large_image" name="twitter:card"/>
|
<meta content="summary_large_image" name="twitter:card"/>
|
||||||
<meta content="@standardebooks" name="twitter:site"/>
|
<meta content="@standardebooks" name="twitter:site"/>
|
||||||
<meta content="@standardebooks" name="twitter:creator"/>
|
<meta content="@standardebooks" name="twitter:creator"/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue