@namespace Oqtane.Themes.Controls @inherits MenuItemsBase @if (ParentPage != null) { foreach (var childPage in GetChildPages()) { var _attributes = new Dictionary(); _attributes.Add("href", GetUrl(childPage)); var _target = GetTarget(childPage); if (!string.IsNullOrEmpty(_target)) { _attributes.Add("target", _target); } if (childPage.PageId == PageState.Page.PageId) { } else { } if (Pages.Any(e => e.ParentId == childPage.PageId)) { } } } else { }