forked from ZwiiCMS-Team/ZwiiCMS
[9.1.00] Canonical phase 2
This commit is contained in:
parent
2dbfb2626e
commit
38d5c66697
@ -2164,7 +2164,7 @@ class layout extends common {
|
|||||||
public function showMetaTitle() {
|
public function showMetaTitle() {
|
||||||
echo '<title>' . $this->core->output['metaTitle'] . '</title>';
|
echo '<title>' . $this->core->output['metaTitle'] . '</title>';
|
||||||
echo '<meta property="og:title" content="' . $this->core->output['metaTitle'] . '" />';
|
echo '<meta property="og:title" content="' . $this->core->output['metaTitle'] . '" />';
|
||||||
echo '<link rel="canonical" href="'. helper::baseUrl(true) .'" />';
|
echo '<link rel="canonical" href="'. helper::baseUrl(true).$this->getUrl() .'" />';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user