grav-plugin-seo
grav-plugin-seo copied to clipboard
Default twitter and facebook title are different
The behaviour of the default (not overriden) title for facebook and twitter is different. In case of twitter, the plugin appends the site title to the page title
$meta['twitter:title']['content'] = $page->title() . ' | ' . $this->config->get('site.title');
In case of facebook the site title is not appended
$meta['og:title']['content'] = $page->title();
In my opinion both titles should default to the same value and i think the behaviour of facebook is correct. Maybe a setting to append or not append the site title is useful.
If you agree i would create a pull request for this.
Thanks.