Browse Source

update title format

PHP-GTK3
yggverse 2 months ago
parent
commit
a81dbafa10
  1. 6
      src/Entity/Browser/Container/Tab/Page/Content.php

6
src/Entity/Browser/Container/Tab/Page/Content.php

@ -233,7 +233,11 @@ class Content @@ -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…
Cancel
Save