Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

Sitemap.cshtml

@model SitemapModel
@{
    Layout = "_ColumnsOne";

    //title
    NopHtml.AddTitleParts(T("PageTitle.Sitemap").Text);
    //page class
    NopHtml.AppendPageCssClassParts("html-sitemap-page");
}

@T("Sitemap")

@T("Sitemap.Description")
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.SitemapBefore, additionalData = Model }) @foreach (var itemGroup in Model.Items.GroupBy(itemGroup => itemGroup.GroupTitle)) {

@itemGroup.Key

    @foreach (var item in itemGroup.ToList()) {
  • @item.Name
  • }
} @{ var pager = Html.Pager(Model.PageModel).QueryParam("pagenumber"); if (!(await pager.IsEmpty())) {
@pager
} } @await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.SitemapAfter, additionalData = Model })