I'm using 2 custom layout shapes to override the BlogPost and BlogPost Summary shapes. Someone noticed with my shapes, however, that the browser title bar was missing the title...it simply had the site name.
I was able to correct this on the BlogPost layout shape by adding
Layout.Title = Model.ContentItem.TitlePart.Title
I'm trying to do the same for the BlogPost Summary layout and display the title of the Blog itself. Using the above code on this layout shape gets me the title of the last blog post on the page.
I tried Model.Title which didn't give me anything. Do you have a suggestion of how I can get to the title of the Blog itself from a BlogPost Summary layout shape named: Content-BlogPost.Summary.cshtml?
Thanks so much!