ildar-shaymukhametov_grandnode-refactorings/Grand.Web/Views/Knowledgebase/Components/KnowledgebaseHomepageArticles/Default.cshtml
@model Grand.Web.Models.Knowledgebase.KnowledgebaseHomePageModel

@if (Model.Items.Any())
{
    <div class="viewBox listbox">
        <ul class="list pl-0">
            @foreach (var item in Model.Items)
            {
                if (item.IsArticle)
                {
                    <a class="list-group-item" href="@Url.RouteUrl("KnowledgebaseArticle", new { SeName = item.SeName })">
                        @item.Name
                    </a>
                }
            }
        </ul>
    </div>
}
