Changing the title configuration doesn't work
7ochem opened this issue · 1 comments
7ochem commented
Description
I want to change the - {{ siteName }}
postfix into | {{ siteName }}
. I've created config/seo.php
with the following content, but I still get the SEO title with a dash.
<?php declare(strict_types=1);
return [
'title' => [
[
'key' => '1',
'template' => '{title}',
'locked' => false,
],
[
'key' => '2',
'template' => ' | {{ siteName }}',
'locked' => true,
]
]
];
Steps to reproduce
- Add
config/seo.php
with the content as above - Run clear caches, config apply
- Refresh the admin and front side pages
Additional info
- Craft version: 3.7.53.1
- SEO version: 3.7.4
- PHP version: 8.1.0
- Database driver & version: 5.5.5-10.5.12-MariaDB-1
- Other Plugins:
- craftcms/element-api 2.8.6.1
- craftcms/feed-me 4.5.3
- craftcms/redactor 2.10.10
7ochem commented