update title format

This commit is contained in:
yggverse 2024-07-08 04:43:51 +03:00
parent 55da150a90
commit a81dbafa10

View File

@ -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()
);