@model Project_Unite.Models.ApplicationUser @{ ViewBag.Title = Model.DisplayName; ViewBag.Banner = Model.BannerUrl; }
@if (!string.IsNullOrWhiteSpace(Model.FullName)) {

@Model.FullName

}
@Model.DisplayName

User stats
@if (Model.Followers.Count() > 0) {

Followers

} @if (Model.Followed.Count() > 0) {

Following

}
@if(Model.UserName == User.Identity.Name) { Html.RenderPartial("~/Views/Profiles/_NewPost.cshtml", new Project_Unite.Models.UserPost()); } @if(Model.Posts.Count() == 0) {

Nothing to show here...

This user hasn't posted anything to their profile just yet. You can follow them to get notified when they do, or you can keep checking back!

} @foreach(var post in Model.Posts.OrderByDescending(x => x.PostedAt)) {

Posted on @post.PostedAt:

@Html.Markdown(post.PostContents)

}