Title: site name as last part

Topics: Customizing Orchard, General
Oct 19, 2011 at 7:18 PM

I think the site name should be the second, not first half of the title for SEO and practical reasons (if one has more tabs open from the same site, most likely only the first few characters will be shown in the browser, which makes it hard to navigate between tabs). This could be simply done by suppressing the IPageTitleBuilder dependency and changing GenerateTitle() not to reverse the title parts. But what was the decision to have this order? Could there be an option to set this for this for example?

What do you think?

Oct 20, 2011 at 4:28 PM

I completely bypassed the normal page title system for my site, I agree it's preferable to have the site name last (most of the time it's the least important bit of information; favicons generally tell me what site a given tab is).

Oct 20, 2011 at 7:37 PM

Going a step further, is this something that could be implemented with tokens? Like instead of the title separator text box there is a title definition, and one could write something like that: "{PageTitle} | {SiteName}" thus overriding also the separator.

Oct 20, 2011 at 7:38 PM

Excellent idea. Please file a feature suggestion on the issue tracker.

Oct 20, 2011 at 7:51 PM

Sure, I've opened one here.