This project is read-only.

Blog does not update page title

Topics: Administration
Sep 7, 2013 at 4:09 PM
On my site I just noticed that going to a blog page does not append the name of the blog to the meta page title. Blog posts do, as do pages, but the landing page for the blog itself leaves the page title just showing my site name and a trailing dash. How can I make the blog name get appended to the title?

Sep 7, 2013 at 5:38 PM
The page title is set in /Core/Contents/Views/Content.cshtml

if (Model.Title != null) {

Layout.Title = Model.Title;


or wherever else Layout.Title is set to some value.

So what you can do is to override this template in your theme for Blog content type Detail display (
~/Themes/YourTheme/Views/Content-Blog.Detail.cshtml) and replace the code part above with

Layout.Title = Model.ContentItem.TitlePart.Title;

and keep the rest as it is.