I have a website that has a <title> tag that is something like this: <title>Blog post name → Site.com</title> and I want the first part of it to be displayed.
So I want only the Blog post name to be displayed. Here is what I did to display the whole title:
Text blah blah blah: <script>document.write(document.title);</script> blah blah blah.
Is there a way I can do this? Thanks!