Try your search with a different keyword or use * as a wildcard.
@model NewsItemListModel
@using Nop.Core.Domain.News
@{
Layout = "_ColumnsTwo";
//title
NopHtml.AddTitleParts(T("PageTitle.NewsArchive").Text);
//page class
NopHtml.AppendPageCssClassParts("html-news-list-page");
}
@T("News.RSS")
@T("News")
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.NewsListPageBeforeItems, additionalData = Model })
@foreach (var item in Model.NewsItems)
{
@item.Title
-@item.CreatedOn.ToString("D")
@Html.Raw(item.Short)
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.NewsListPageInsideItem, additionalData = item })
}
@{
var pager = Html.Pager(Model.PagingFilteringContext).QueryParam("pagenumber");
}
@if (!(await pager.IsEmpty()))
{
@pager
}
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.NewsListPageAfterItems, additionalData = Model })