Closed ikramulmustafa closed 4 years ago
Unable to reproduce. Following unit test verifies correct behavior:
public function test_161()
{
$seoMeta = new SEOMeta(new Repository(['defaults' => ['title' => 'test-title']]));
$html = $seoMeta->generate();
$this->assertSame('<title>test-title</title>', $html);
$seoMeta = new SEOMeta(new Repository(['defaults' => ['title' => false]]));
$html = $seoMeta->generate();
$this->assertSame('', $html);
}
Make sure you have reset Laravel config cache after updating 'config/seotools.php':
php artisan config:clear
php artisan config:clear solved this for me. Thanks!
No sirve.
Same error in Laravel 9
You can avoid that with this
SEOMeta::setTitle('Home', 'aaa');
Default Title Its OVer 9000 is not removing I have set false in config/seotools.php but still in title its appearing http://www.mavenup.com/