Override blog post title in theme

Feb 11, 2011 at 6:07 AM

I am trying to change the way that blog post titles appear in the blog list (not the widget). 

The following snippets appears in my Content.Summary.cshtml which appears to be where I would get this done. 


However the above code formats the title with a H1 and I want to have control over the markup for this. How do I override the Blog Post Titles in my theme?

There doesn't appear to be a Parts.Common.Title.Summary.cshtml.

Thanks in advance,

Feb 11, 2011 at 6:31 AM

You need to override Parts.RoutableTitle.cshtml.

Feb 18, 2011 at 7:26 PM

What if one only wants to override the  Model.Header for a BlogPost?

Feb 18, 2011 at 9:13 PM

Make a Content-BlogPost.cshtml template and replace the call to @Display(Model.Header) by whatever you want?