mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Compare commits
2 Commits
3d006a6958
...
5f6bd977bb
Author | SHA1 | Date | |
---|---|---|---|
|
5f6bd977bb | ||
|
e279785301 |
@ -1454,7 +1454,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
|||||||
|
|
||||||
$tags['title'] = [
|
$tags['title'] = [
|
||||||
'tag' => 'title',
|
'tag' => 'title',
|
||||||
'content' => $this->obj('Title')->forTemplate()
|
'content' => $this->obj('Title')?->forTemplate()
|
||||||
];
|
];
|
||||||
|
|
||||||
$generator = $this->getGenerator();
|
$generator = $this->getGenerator();
|
||||||
@ -1601,7 +1601,7 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
|
|||||||
|
|
||||||
$tagString = implode("\n", $tags);
|
$tagString = implode("\n", $tags);
|
||||||
if ($this->ExtraMeta) {
|
if ($this->ExtraMeta) {
|
||||||
$tagString .= $this->obj('ExtraMeta')->forTemplate();
|
$tagString .= $this->obj('ExtraMeta')?->forTemplate();
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->extend('updateMetaTags', $tagString);
|
$this->extend('updateMetaTags', $tagString);
|
||||||
|
Loading…
Reference in New Issue
Block a user