Add WebCms
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@inherits umbraco.MacroEngines.DynamicNodeContext
|
||||
|
||||
<ul>
|
||||
@* OrderBy() takes the property to sort by *@
|
||||
@foreach (var page in Model.Children.Where("Visible").OrderBy("Name"))
|
||||
{
|
||||
<li><a href="@page.Url">@page.Name</a></li>
|
||||
}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user