@model IEnumerable @{ ViewBag.Title = "Blog"; }

Developer Blog

We ShiftOS devs have a lot going on. If you want to find out a bit more about what we do behind the scenes, this is the place for you. We'll post lots of things for you to read here.

@if (Request.IsAuthenticated) { if (User.Identity.IsDeveloper()) { } } @foreach(var blog in Model.OrderByDescending(x=>x.PostedAt)) {

@blog.Name

Posted by @Html.UserLink(blog.AuthorId) at @blog.PostedAt - @blog.Likes.Length likes, @blog.Dislikes.Length dislikes

@Html.Markdown(blog.Summary)

@Html.ActionLink("Read more", "ViewBlog", "Blog", new { id = blog.Id }, new { @class = "btn btn-default" })
}