Browse Source

Update Default.cshtml

pull/17110/head
Salih 3 years ago
parent
commit
7a576284c5
  1. 4
      modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/PopularTags/Default.cshtml

4
modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/CmsKit/Shared/Components/PopularTags/Default.cshtml

@ -12,14 +12,14 @@
{ {
if (Model.UrlFormat.IsNullOrWhiteSpace()) if (Model.UrlFormat.IsNullOrWhiteSpace())
{ {
<span class="br-8 me-2 mb-2 p-2 d-inline-block cmskit-tag fw--5" style="background: #eeedf7; color: #766bc8"> <span class="br-8 me-2 mb-2 p-2 d-inline-block cmskit-tag fw--5" style="background: #eeedf7; color: #766bc8" data-count="@tag.Count">
@tag.Name @tag.Name
</span> </span>
} }
else else
{ {
<a href="@Model.UrlFormat.Replace("{TagId}", tag.Id.ToString()).Replace("{TagName}",tag.Name)"> <a href="@Model.UrlFormat.Replace("{TagId}", tag.Id.ToString()).Replace("{TagName}",tag.Name)">
<span class="br-8 me-2 mb-2 p-2 d-inline-block cmskit-tag fw--5" style="background: #eeedf7; color: #766bc8"> <span class="br-8 me-2 mb-2 p-2 d-inline-block cmskit-tag fw--5" style="background: #eeedf7; color: #766bc8" data-count="@tag.Count">
@tag.Name @tag.Name
</span> </span>
</a> </a>

Loading…
Cancel
Save