I'm sure this is common but searching here/google hasn't turned up much.
I would like to list the five latest blog posts on my homepage, and link to them. I believe I need something like
BlogEngine.Core.Post.Posts.Where(p => p.IsPublished)
I've tried putting it in a foreach loop and doing something with it but no luck so far.
Can someone point me in the right direction please?