I'm trying to remove the em dash and project/page title from the website titles of projects and pages. I was able to remove the em dash by going into frontend.php and removing the code that does that:
wp_localize_script( 'frontend-app', 'passedDataHistory', array( 'titleprefix'
=>get_bloginfo('name').' — ', 'title'
=>get_bloginfo('name') ) );
But what I get is my name and the project/page title still appended in my website title. Any help would be appreciated.