showMetaTitle
This commit is contained in:
parent
a3c3bd5842
commit
62a42e4a8e
@ -2033,8 +2033,14 @@ class common
|
||||
{
|
||||
echo '<title>' . $this->output['metaTitle'] . '</title>';
|
||||
echo '<meta property="og:title" content="' . $this->output['metaTitle'] . '" />';
|
||||
if (
|
||||
$this->getData(['locale', 'homePageId']) === $this->getUrl(0)
|
||||
) {
|
||||
echo '<link rel="canonical" href="' . helper::baseUrl(false) . '" />';
|
||||
} else {
|
||||
echo '<link rel="canonical" href="' . helper::baseUrl(true) . $this->getUrl() . '" />';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Affiche la meta description
|
||||
|
Loading…
Reference in New Issue
Block a user