@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage @using ContentModels = Umbraco.Cms.Web.Common.PublishedModels @using Portfolio.Core.Extensions @{ Layout = "Master.cshtml"; var projectList = Model.Parent; var otherProjects = projectList.Children().Where(x => x.Id != Model.Id); var title = Model.Value("title", fallback: Fallback.ToDefaultValue, defaultValue: Model.Name); }

@title

@if (Model.MainImage != null) {
}

Description

@Model.Description
@if (Model.ProjectDate != null && Model.ProjectDate > DateTime.MinValue) { Date @Model.ProjectDate.ToString("dd MMM yyyy") }
@if (otherProjects != null && otherProjects.Any()) {

More Projects

}