Try your search with a different keyword or use * as a wildcard.
@inject Nop.Services.Html.IHtmlFormatter htmlFormatter
@model NewsItemModel
@{
Layout = "_ColumnsTwo";
//title
NopHtml.AddTitleParts(!string.IsNullOrEmpty(Model.MetaTitle) ? Model.MetaTitle : Model.Title);
//meta
NopHtml.AddMetaDescriptionParts(Model.MetaDescription);
NopHtml.AddMetaKeywordParts(Model.MetaKeywords);
//page class
NopHtml.AppendPageCssClassParts("html-news-item-page");
}
@Model.Title
@Model.CreatedOn.ToString("D")
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.NewsItemPageBeforeBody, additionalData = Model })
@Html.Raw(Model.Full)
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.NewsItemPageBeforeComments, additionalData = Model })
@if (Model.AllowComments)
{
@T("News.Comments.LeaveYourComment")
@{
var result = TempData["nop.news.addcomment.result"] as string;
}
@if (!string.IsNullOrEmpty(result))
{
@result
}
if (Model.Comments.Count > 0)
{
@Html.Raw(htmlFormatter.FormatText(comment.CommentText, false, true, false, false, false, false))