mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-13 06:01:21 +00:00
update title format
This commit is contained in:
parent
55da150a90
commit
a81dbafa10
@ -233,7 +233,11 @@ class Content
|
||||
);
|
||||
|
||||
$this->page->title->setValue(
|
||||
$title ? $title : $address->getHost(), // detect title by document h1
|
||||
$title ? sprintf(
|
||||
'%s - %s',
|
||||
$title,
|
||||
$address->getHost()
|
||||
) : $address->getHost(), // detect title by document h1
|
||||
$response->getMeta()
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user