CB-APRW-001
Articles Preview
CB-APRW-001 The Article Preview block surfaces recent or featured content in a clear, structured layout. It gives users a quick snapshot of available articles, combining imagery, titles and short summaries to encourage further reading.
Designed for easy scanning, it helps highlight updates, insights or news while guiding users toward the full content.
Content Block Fields:
Eyebrow
Headline
Body Copy
Content Block Settings:
Background Colours
Demo
Exception message: Object reference not set to an instance of an object.<br /><br />Stack trace: at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_ArticlesPreview.<>c__DisplayClass9_0.<ExecuteAsync>b__2(NewsItem x) in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/ArticlesPreview.cshtml:line 27 at System.Linq.Enumerable.IEnumerableWhereIterator`1.ToArray() at System.Linq.Enumerable.SkipTakeOrderedIterator`1.MoveNext() at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection) at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_ArticlesPreview.ExecuteAsync() in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/ArticlesPreview.cshtml:line 30 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_default.ExecuteAsync() in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/default.cshtml:line 19<br /><br />
Exception message: Object reference not set to an instance of an object.<br /><br />Stack trace: at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_ArticlesPreview.<>c__DisplayClass9_0.<ExecuteAsync>b__2(NewsItem x) in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/ArticlesPreview.cshtml:line 27 at System.Linq.Enumerable.IEnumerableWhereIterator`1.ToArray() at System.Linq.Enumerable.SkipTakeOrderedIterator`1.MoveNext() at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection) at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_ArticlesPreview.ExecuteAsync() in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/ArticlesPreview.cshtml:line 30 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_default.ExecuteAsync() in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/default.cshtml:line 19<br /><br />
Exception message: Object reference not set to an instance of an object.<br /><br />Stack trace: at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_ArticlesPreview.<>c__DisplayClass9_0.<ExecuteAsync>b__2(NewsItem x) in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/ArticlesPreview.cshtml:line 27 at System.Linq.Enumerable.IEnumerableWhereIterator`1.ToArray() at System.Linq.Enumerable.SkipTakeOrderedIterator`1.MoveNext() at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection) at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_ArticlesPreview.ExecuteAsync() in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/ArticlesPreview.cshtml:line 30 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_default.ExecuteAsync() in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/default.cshtml:line 19<br /><br />
Exception message: Object reference not set to an instance of an object.<br /><br />Stack trace: at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_ArticlesPreview.<>c__DisplayClass9_0.<ExecuteAsync>b__2(NewsItem x) in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/ArticlesPreview.cshtml:line 27 at System.Linq.Enumerable.IEnumerableWhereIterator`1.ToArray() at System.Linq.Enumerable.SkipTakeOrderedIterator`1.MoveNext() at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection) at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_ArticlesPreview.ExecuteAsync() in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/ArticlesPreview.cshtml:line 30 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCoreGeneratedDocument.Views_Partials_ContentBlocks_default.ExecuteAsync() in /tmp/8de9a3d360e76d7/BSBase.Web/Views/Partials/ContentBlocks/default.cshtml:line 19<br /><br />