mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
update title format
This commit is contained in:
parent
55da150a90
commit
a81dbafa10
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue