@model DivanRazor.Pages._SimiPartialViewModel @using DNTPersianUtils.Core @{ Layout = null; } @for (int i = 0; i < Math.Min(20, Model.RelatedSections.Length); i++) {
@Model.RelatedSections[i].PoetName
@Model.RelatedSections[i].FullTitle
@Html.Raw(Model.RelatedSections[i].HtmlExcerpt)
@if (Model.RelatedSections[i].PoetMorePoemsLikeThisCount > 0) { @if (Model.RelatedSections[i].PoetMorePoemsLikeThisCount > 20) { مشاهدهٔ بیش از @Model.RelatedSections[i].PoetMorePoemsLikeThisCount.ToPersianNumbers() مورد هم آهنگ دیگر از @Model.RelatedSections[i].PoetName } else { مشاهدهٔ @Model.RelatedSections[i].PoetMorePoemsLikeThisCount.ToPersianNumbers() مورد هم آهنگ دیگر از @Model.RelatedSections[i].PoetNameautorenew } }
@if (Model.RelatedSections[i].PoetMorePoemsLikeThisCount > 0) { } } @if (Model.RelatedSections.Length == 21) { }