Specifying custom <title> tag format per page type?

Hi David, sorry for taking so long to get back to this!

I’ve just created a plugin to override the page-title method however the site name is still being added on to the end (any additions I make are simply inserted before the end) so it looks like it’s being added somewhere else.

Could it be:

  <% content_for(:title) { @title || "#{gsub_emoji_to_unicode(@topic_view.page_title)} - #{SiteSetting.title}" } %>

In views/topics/show.html.erb?

I created a plugin to override the whole show.html.erb file but nothing happened. (I’m also not able to test with JS turned off on my dev machine - I just get a blank page, is that normal? Edit: posted here)