warning fixed
This commit is contained in:
parent
84ce7ad9b1
commit
6563011c32
@ -90,11 +90,7 @@ if (isset($ometa['twittercard'])) {
|
||||
} else {
|
||||
$meta['twittercard'] = $metatwittercard;
|
||||
}
|
||||
if (isset($ometa['twitterurl'])) {
|
||||
$meta['twitterurl'] = $ometa['twitterurl'];
|
||||
} else {
|
||||
$meta['twitterurl'] = $metatwitterurl;
|
||||
}
|
||||
|
||||
if (isset($ometa['twittertitle'])) {
|
||||
$meta['twittertitle'] = $ometa['twittertitle'];
|
||||
} else {
|
||||
@ -139,7 +135,8 @@ if (isset($ometa['twitterimage'])) {
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="<?= $meta['apple-touch-icon'] ?>">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="<?= $meta['icon32'] ?>">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="<?= $meta['icon16'] ?>">
|
||||
<!--<link rel="manifest" href="--><?php //=$meta['manifest']?><!--">-->
|
||||
<!--<link rel="manifest" href="--><?php //=$meta['manifest']
|
||||
?><!--">-->
|
||||
<link rel="mask-icon" href="/meta/favicons/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<link rel="shortcut icon" href="/meta/favicons/favicon.ico">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
@ -155,9 +152,7 @@ if (isset($ometa['twitterimage'])) {
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="<?= $meta['twittercard'] ?>" />
|
||||
<meta property="twitter:url" content="<?=$meta['twitterurl'] ?>" />
|
||||
|
||||
<meta property="twitter:title" content="<?= $meta['twittertitle'] ?>" />
|
||||
<meta property="twitter:description" content="<?= $meta['twitterdescription'] ?>" />
|
||||
<meta property="twitter:image" content="<?= $meta['twitterimage'] ?>" />
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user