Remove macro that calls into dynamic methods
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
@{
|
||||
Layout = "~/Views/Master.cshtml";
|
||||
}
|
||||
|
||||
<div id="contribute" class="subpage">
|
||||
<div id="body" class="markdown-syntax">
|
||||
<div>
|
||||
@@ -13,7 +12,17 @@
|
||||
@Html.Raw(Model.Content.GetPropertyValue<string>("bodyText"))
|
||||
</div>
|
||||
<div class="options">
|
||||
@Umbraco.RenderMacro("ContentLanding-Summary")
|
||||
<div class="row projectGroups">
|
||||
@foreach (var item in Model.Content.Children.Where(x => x.IsVisible()))
|
||||
{
|
||||
<div class="projectGroup col-md-6">
|
||||
<div style="background-image: url('@(item.GetPropertyValue<string>("contentIcon"))">
|
||||
<h3><a href="@item.Url">@item.Name</a></h3>
|
||||
<p>@(item.GetPropertyValue<string>("abstract"))</p>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user