blog format

Oct 13, 2010 at 9:44 AM

Hi, all. New here. I had a comment about blogs.

Currently, most blogs default to show each blog post in its entirety on the blog home page. Wordpress, Tumblr, Blogger, etc. all do this. Is there a simple mechanism in place to override the current behavior of truncating blog posts whereby users are forced to clickthru to read the entire blog post? The current default of truncating the blog post should be changed IMO.


Oct 13, 2010 at 9:58 AM

I found the culprit in Common.Body.Summary.ascx. The code comment was correct. It isn't the prettiest solution. ;)

Oct 13, 2010 at 10:16 AM

If anyone else wants the solution just replace this:

<%: new HtmlString(string.Format(
"<p>{0} {1}</p>",
Html.Excerpt(Model.Text, 200).ToString().Replace(Environment.NewLine, "</p>" + Environment.NewLine + "<p>"),
Html.ItemDisplayLink(T("[more]").ToString(), Model.BodyPart.ContentItem))) %>

with this: