@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 && Model.ShowFollowers) {

Followers

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

Following

}

About @Model.DisplayName

@if (!string.IsNullOrWhiteSpace(Model.Bio)) {

Bio

@Html.Markdown(Model.Bio)

}

Interests

@if (string.IsNullOrWhiteSpace(Model.Interests)) {

Nothing to show here.

} else {

@Html.Markdown(Model.Interests)

}

Hobbies

@if (string.IsNullOrWhiteSpace(Model.Hobbies)) {

Nothing to show here.

} else {

@Html.Markdown(Model.Hobbies)

}

Posts

@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)

}