Author: Tales from the Evil Empire : ASP.NET | Posted on: 5/23/2011 8:33:57 PM | Views : 1376

I got this question more than once: "how can you use a different template for the first blog post?" The scenario is illustrated by this example: If you look at the default rendering for the list of posts in a blog, you'll see this: < ul class ="blog-posts content-items" > < li class ="first" > < article class ="content-item blog-post" > < header >... .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode...(read more) ...

Go to the complete details ...