@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 (PageState.RenderMode == RenderModes.Static && PageState.Page.ThemeType != (string.IsNullOrEmpty(childPage.ThemeType) ? PageState.Site.DefaultThemeType : childPage.ThemeType)) { _attributes.Add("data-enhance-nav", "false"); }*@ if (childPage.PageId == PageState.Page.PageId) { } else { } if (Pages.Any(e => e.ParentId == childPage.PageId)) { } } } else { }