4in1: fix post urls in meta tags
This commit is contained in:
parent
e56d66d6bb
commit
2f8ef8bd1a
@ -125,7 +125,7 @@ class MainHandler
|
|||||||
|
|
||||||
$this->skin->meta->title = $pt->title;
|
$this->skin->meta->title = $pt->title;
|
||||||
$this->skin->meta->description = $pt->getDescriptionPreview(155);
|
$this->skin->meta->description = $pt->getDescriptionPreview(155);
|
||||||
$this->skin->meta->url = $config['domain'].$post->getUrl();
|
$this->skin->meta->url = 'https://'.$config['domain'].$post->getUrl();
|
||||||
if ($pt->keywords)
|
if ($pt->keywords)
|
||||||
$this->skin->meta->keywords = $pt->keywords;
|
$this->skin->meta->keywords = $pt->keywords;
|
||||||
if (($img = $pt->getFirstImage()) !== null)
|
if (($img = $pt->getFirstImage()) !== null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user